Skip to content

Commit

Permalink
gpt4 evaluator: use the model name provided in config
Browse files Browse the repository at this point in the history
  • Loading branch information
semio committed Jan 29, 2024
1 parent 8b4bbb0 commit 2e7fa8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def evaluate(self, experiment_result: ExperimentResult) -> EvaluatorOutput:
choices=choices_to_string(self.config.choices)
)
response = completion_with_backpff(
model="gpt-4",
model=self.config.model_name,
messages=prompt,
temperature=0.0,
n=1,
Expand Down

0 comments on commit 2e7fa8c

Please sign in to comment.