Unverified Commit c1145dfd authored by Vicki Boykis's avatar Vicki Boykis Committed by GitHub
Browse files

setting trust_remote_code (#1467)

parent d27c0c08
......@@ -96,7 +96,7 @@ class HFLM(TemplateLM):
dtype: Optional[Union[str, torch.dtype]] = "auto",
batch_size: Optional[Union[int, str]] = 1,
max_batch_size: Optional[int] = 64,
trust_remote_code: Optional[bool] = False,
trust_remote_code: Optional[bool] = True,
use_fast_tokenizer: Optional[bool] = True,
# arguments used for splitting a model across GPUs naively.
# only used if `parallelize=True`.
......
......@@ -12,3 +12,5 @@ metric_list:
higher_is_better: true
metadata:
version: 1.0
dataset_kwargs:
trust_remote_code: true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment