julien-c HF Staff Linker1907 commited on
Commit
7cf1290
·
verified ·
1 Parent(s): e53f048

adds_eval_yaml (#17)

Browse files

- add eval.yaml (e9ae9ea97970f8caddeeff4b0d87d8519a49af54)
- add eval.yaml (cc0fec9834ebaf1216f0ad31cd36034ec8996d9b)
- add eval.yaml (5d07f7bfba81d2deacb533072f4e1869aa265df1)


Co-authored-by: Nathan Habib <Linker1907@users.noreply.huggingface.co>

Files changed (1) hide show
  1. eval.yaml +33 -0
eval.yaml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # yaml file for compatibility with inspect-ai
2
+
3
+ name: GSM8K
4
+ description: >
5
+ GSM8K is a dataset of 8,000+ high-quality, single-step arithmetic word problems.
6
+
7
+ tasks:
8
+ - id: gsm8k
9
+ config: main
10
+ split: test
11
+
12
+ epochs: 4
13
+ epoch_reducer: pass_at_1
14
+
15
+ field_spec:
16
+ input: question
17
+ target: answer
18
+
19
+ solvers:
20
+ - name: prompt_template
21
+ args:
22
+ template: >
23
+ Solve the following math problem efficiently and clearly. The last line
24
+ of your response should be of the following format: 'Therefore, the final
25
+ answer is: $\\boxed{ANSWER}$. I hope it is correct' (without quotes)
26
+ where ANSWER is just the final number or expression that solves the
27
+ problem. Think step by step before answering.
28
+
29
+ {prompt}
30
+ - name: generate
31
+
32
+ scorers:
33
+ - name: model_graded_fact