EtashGuha commited on
Commit
2f4e280
·
verified ·
1 Parent(s): 9114359

Upload configuration file

Browse files
Files changed (1) hide show
  1. config/4o_annotated_olympiads.yaml +62 -0
config/4o_annotated_olympiads.yaml ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ operators:
2
+ - id: load_numina_math
3
+ config:
4
+ type: "hf_source"
5
+ dataset: "AI-MO/NuminaMath-CoT"
6
+ split: train
7
+ - id: select_olympiads
8
+ config:
9
+ type: function
10
+ function: data_strategies.commons.select_rows
11
+ function_config:
12
+ conditions:
13
+ source: olympiads
14
+ input_ids:
15
+ - load_numina_math
16
+ - id: load_annotations
17
+ config:
18
+ type: "hf_source"
19
+ dataset: "mlfoundations-dev/math_stratos_scale_judged_and_annotated"
20
+ split: train
21
+ - id: join_on_problem
22
+ config:
23
+ type: merge
24
+ escapechar: "\\"
25
+ chunk_size: 100
26
+ join_column: problem
27
+ input_ids:
28
+ - load_annotations
29
+ - select_olympiads
30
+ - id: refilter
31
+ config:
32
+ type: function
33
+ function: data_strategies.commons.select_rows
34
+ function_config:
35
+ conditions:
36
+ source: olympiads
37
+ input_ids:
38
+ - join_on_problem
39
+ - id: annotate
40
+ config:
41
+ type: completions
42
+ map: chat
43
+ map_config:
44
+ system_message: "You are a helpful assistant."
45
+ user_message_column: problem
46
+ output_column: 4o_response
47
+ model: gpt-4o-mini
48
+ temperature: 1.0
49
+ require_all_responses: False
50
+ batch: True
51
+ input_ids:
52
+ - refilter
53
+ - id: convert_to_sharegpt
54
+ config:
55
+ type: function
56
+ function: data_strategies.commons.convert_instruction_response_to_sharegpt
57
+ function_config:
58
+ input_instruction_column: problem
59
+ input_response_column: 4o_response
60
+ output_sharegpt_column: conversations
61
+ input_ids:
62
+ - annotate