Skip to content

Commit

Permalink
Revert "setting trust_remote_code (EleutherAI#1467)" (EleutherAI#1474)
Browse files Browse the repository at this point in the history
This reverts commit c1145df.
  • Loading branch information
haileyschoelkopf authored and nightingal3 committed May 2, 2024
1 parent 203b3cb commit 1b6b9a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lm_eval/models/huggingface.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def __init__(
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] = True,
trust_remote_code: Optional[bool] = False,
use_fast_tokenizer: Optional[bool] = True,
add_bos_token: Optional[bool] = False,
# arguments used for splitting a model across GPUs naively.
Expand Down
2 changes: 0 additions & 2 deletions lm_eval/tasks/asdiv/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,3 @@ metric_list:
higher_is_better: true
metadata:
version: 1.0
dataset_kwargs:
trust_remote_code: true

0 comments on commit 1b6b9a2

Please sign in to comment.