Add eval config for eng metric

#10

YAML Metadata Error:Invalid content in eval.yaml.

Check out the documentation for more information.

Show details
✖ Invalid input
Files changed (1) hide show
  1. eval.yaml +42 -0
eval.yaml CHANGED
@@ -299,3 +299,45 @@ tasks:
299
 
300
  scorers:
301
  - name: math
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
299
 
300
  scorers:
301
  - name: math
302
+
303
+ - id: original_eng_metric
304
+ config: eng_metric
305
+ split: test_original
306
+
307
+ field_spec:
308
+ input: question
309
+ target: target
310
+ metadata:
311
+ - answer
312
+ - language
313
+ - source_id
314
+
315
+ solvers:
316
+ - name: prompt_template
317
+ args:
318
+ template: "Solve the following math problem step by step. Put your final numeric answer (without units, currency symbols, or percentage signs) in \\boxed{{}}, for example: \\boxed{{42}}.\n\n{prompt}"
319
+ - name: generate
320
+
321
+ scorers:
322
+ - name: math
323
+
324
+ - id: synthetic_eng_metric
325
+ config: eng_metric
326
+ split: test_synthetic
327
+
328
+ field_spec:
329
+ input: question
330
+ target: target
331
+ metadata:
332
+ - answer
333
+ - language
334
+ - source_id
335
+
336
+ solvers:
337
+ - name: prompt_template
338
+ args:
339
+ template: "Solve the following math problem step by step. Put your final numeric answer (without units, currency symbols, or percentage signs) in \\boxed{{}}, for example: \\boxed{{42}}.\n\n{prompt}"
340
+ - name: generate
341
+
342
+ scorers:
343
+ - name: math