Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running eval.py reported an error #2

Open
nextdoorUncleLiu opened this issue Aug 9, 2024 · 0 comments
Open

Running eval.py reported an error #2

nextdoorUncleLiu opened this issue Aug 9, 2024 · 0 comments

Comments

@nextdoorUncleLiu
Copy link

When I run it in the console:

python3 eval.py ./touchstone_20230831.tsv sk-*** --model-name gpt-4

console output:

 -------------- evaluate gpt-4 -------------
Traceback (most recent call last):
  File "eval.py", line 236, in <module>
    review_file = process(args.submit_file, args.model_name)
  File "eval.py", line 105, in process
    assert num_questions == 908, "Insufficient number of answers provided."
NameError: name 'num_questions' is not defined

Also displayed in the editor as num_questions undefined (line: 105)

May I ask how to solve this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant