Skip to content

Commit

Permalink
set the env default to 1
Browse files Browse the repository at this point in the history
Signed-off-by: changwangss <[email protected]>
  • Loading branch information
changwangss committed Jun 18, 2024
1 parent 83d905d commit 634537a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evals/evaluation/lm_evaluation_harness/accuracy.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def cli_evaluate(args) -> None:
eval_logger.setLevel(getattr(logging, f"{args.verbosity}"))
eval_logger.info(f"Verbosity set to {args.verbosity}")
os.environ["TOKENIZERS_PARALLELISM"] = "false"
os.environ["HF_DATASETS_TRUST_REMOTE_CODE"] = "true"
os.environ["HF_DATASETS_TRUST_REMOTE_CODE"] = "1"

if args.predict_only:
args.log_samples = True
Expand Down

0 comments on commit 634537a

Please sign in to comment.