minerva_math_algebra.yaml 717 Bytes
Newer Older
Ranger's avatar
Ranger committed
1
tag:
baberabb's avatar
baberabb committed
2
  - math_word_problems
3
4
task: minerva_math_algebra
dataset_path: EleutherAI/hendrycks_math
baberabb's avatar
baberabb committed
5
6
process_docs: !function utils.process_docs
dataset_name: algebra
7
output_type: generate_until
baberabb's avatar
baberabb committed
8
9
10
11
training_split: train
test_split: test
doc_to_text:  !function utils.doc_to_text
process_results: !function utils.process_results
12
doc_to_target: "{{answer if few_shot is undefined else solution}}"
baberabb's avatar
baberabb committed
13
14
15
16
17
18
19
20
21
generation_kwargs:
  until:
    - "Problem:"
  do_sample: false
  temperature: 0
metric_list:
  - metric: exact_match
    aggregation: mean
    higher_is_better: true
22
num_fewshot: 4
lintangsutawika's avatar
lintangsutawika committed
23
metadata:
24
  version: 1.0
25
26
dataset_kwargs:
  trust_remote_code: true
27
28
29
fewshot_config:
  sampler: first_n
  samples: !function utils.list_fewshot_samples