We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9f1431 commit 4e9883bCopy full SHA for 4e9883b
examples/models/llama2/eval_llama_lib.py
@@ -295,6 +295,7 @@ def eval_llama(
295
with torch.no_grad():
296
eval_results = simple_evaluate(
297
model=eval_wrapper,
298
+ model_args="trust_remote_code=True",
299
tasks=args.tasks, # pyre-ignore: Undefined attribute [16]: `argparse.ArgumentParser` has no attribute `tasks`
300
num_fewshot=args.num_fewshot, # pyre-ignore: Undefined attribute [16]: `argparse.ArgumentParser` has no attribute `num_fewshot`
301
limit=args.limit, # pyre-ignore: Undefined attribute [16]: `argparse.ArgumentParser` has no attribute `limit`
0 commit comments