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 127ecf9 commit 9ba850aCopy full SHA for 9ba850a
examples/models/llama2/eval_llama_lib.py
@@ -295,9 +295,9 @@ def eval_llama(
295
with torch.no_grad():
296
eval_results = simple_evaluate(
297
model=eval_wrapper,
298
- tasks=args.tasks,
299
- num_fewshot=args.num_fewshot,
300
- limit=args.limit,
+ tasks=args.tasks, # pyre-ignore: Undefined attribute [16]: `argparse.ArgumentParser` has no attribute `tasks`
+ num_fewshot=args.num_fewshot, # pyre-ignore: Undefined attribute [16]: `argparse.ArgumentParser` has no attribute `num_fewshot`
+ limit=args.limit, # pyre-ignore: Undefined attribute [16]: `argparse.ArgumentParser` has no attribute `limit`
301
)
302
303
for task, res in eval_results["results"].items():
0 commit comments