ryanmarten commited on
Commit
8903ce7
·
verified ·
1 Parent(s): 9d99328

Upload configuration file

Browse files
Files changed (1) hide show
  1. config/fig1_math_openr1.yaml +86 -0
config/fig1_math_openr1.yaml ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ operators:
2
+ - id: load_hf
3
+ config:
4
+ type: hf_source
5
+ dataset: open-r1/OpenR1-Math-220k
6
+ subset: default # best SFT performance, only 94k problems
7
+ split: train
8
+ trust_remote_code: True
9
+ - id: unravel_conversations
10
+ config:
11
+ type: function
12
+ function: data_strategies.commons.convert_sharegpt_to_instruction_response
13
+ function_config:
14
+ input_sharegpt_column: messages
15
+ output_instruction_column: original_problem
16
+ output_response_column: original_reasoning_trace
17
+ role_tag: role
18
+ user_tag: user
19
+ content_tag: content
20
+ assistant_tag: assistant
21
+ drop_non_output_columns: True
22
+ input_ids:
23
+ - load_hf
24
+ # - id: decontaminate
25
+ # config:
26
+ # type: cpu_function
27
+ # sharded: false
28
+ # num_cpus: 16
29
+ # function: data_strategies._A1_Source.utils.decontaminate_fuzzy_w_ngram
30
+ # function_config:
31
+ # column: problem
32
+ # eval_datasets:
33
+ # - HuggingFaceH4/MATH-500
34
+ # - Maxwell-Jia/AIME_2024
35
+ # - AI-MO/aimo-validation-amc
36
+ # - livecodebench/code_generation_lite
37
+ # - mlfoundations-dev/AIME2025_combined
38
+ # - cais/hle
39
+ # - open-r1/codeforces
40
+ # - Idavidrein/gpqa
41
+ # - daman1209arora/jeebench
42
+ # - mlfoundations-dev/mmlu_pro_eval_full
43
+ # - Qwen/CodeElo
44
+ # - open-r1/ioi
45
+ # eval_columns:
46
+ # - problem
47
+ # - Problem
48
+ # - problem
49
+ # - question_content
50
+ # - question
51
+ # - question
52
+ # - description
53
+ # - Question
54
+ # - question
55
+ # - prompt
56
+ # - description
57
+ # - statement
58
+ # eval_splits:
59
+ # - test
60
+ # - train
61
+ # - train
62
+ # - test
63
+ # - train
64
+ # - test
65
+ # - test
66
+ # - train
67
+ # - test
68
+ # - test
69
+ # - test
70
+ # - test
71
+ # eval_subsets:
72
+ # Idavidrein/gpqa: gpqa_diamond
73
+ # similarity_threshold: 75.0
74
+ # ngram_size: 13
75
+ # input_ids:
76
+ # - decompose_reasoning_trace
77
+ - id: convert_to_sharegpt
78
+ config:
79
+ type: function
80
+ function: data_strategies.commons.convert_instruction_response_to_sharegpt
81
+ function_config:
82
+ input_instruction_column: original_problem
83
+ input_response_column: original_reasoning_trace
84
+ output_sharegpt_column: conversations
85
+ input_ids:
86
+ - unravel_conversations