Skip to content

Running eval.py reported an error #2

Description

@nextdoorUncleLiu

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions