forked from openai/evals
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add eval yaml for Theory of Mind eval (openai#1453)
In [the previous PR](openai#1405) adding the Theory of Mind eval, the `evals/registry/evals/theory_of_mind.yaml` was mistakenly not added, so the eval couldn't be run. This PR adds this file. Test with: ``` oaieval gpt-3.5-turbo theory_of_mind ```
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
theory_of_mind: | ||
id: theory_of_mind.tomi | ||
metrics: [accuracy] | ||
description: Runs a series of theory of mind (ToM) benchmarks (ToMI, SocialIQA). | ||
|
||
theory_of_mind.tomi: | ||
class: evals.elsuite.basic.match_with_solvers:MatchWithSolvers | ||
args: | ||
samples_jsonl: theory_of_mind/tomi/test.jsonl | ||
task_description: "You will read a number of sentences describing a situation involving several people, as well as a question regarding the real or perceived location of an object. Your task is to answer the question based on the information in the sentences. Respond with the single word corresponding to the location." | ||
|
||
theory_of_mind.tomi_light: | ||
class: evals.elsuite.basic.match_with_solvers:MatchWithSolvers | ||
args: | ||
samples_jsonl: theory_of_mind/tomi/test.jsonl | ||
task_description: "You will read a number of sentences describing a situation involving several people, as well as a question regarding the real or perceived location of an object. Your task is to answer the question based on the information in the sentences. Respond with the single word corresponding to the location." | ||
n_samples: 599 # Exactly 1/10th of the total | ||
|
||
theory_of_mind.socialiqa: | ||
class: evals.elsuite.basic.match_with_solvers:MatchWithSolvers | ||
args: | ||
samples_jsonl: theory_of_mind/socialiqa/test.jsonl | ||
task_description: "You will read a number of sentences describing a situation, followed by a question regarding the situation. Your task is to answer the question based on the information in the sentences by choosing from one of three answers A, B or C. Respond with just the letter corresponding to your answer, e.g. A." | ||
|
||
theory_of_mind.socialiqa_light: | ||
class: evals.elsuite.basic.match_with_solvers:MatchWithSolvers | ||
args: | ||
samples_jsonl: theory_of_mind/socialiqa/test.jsonl | ||
task_description: "You will read a number of sentences describing a situation, followed by a question regarding the situation. Your task is to answer the question based on the information in the sentences by choosing from one of three answers A, B or C. Respond with just the letter corresponding to your answer, e.g. A." | ||
n_samples: 222 # Exactly 1/10th of the total |