EtashGuha commited on
Commit
a3595bf
·
verified ·
1 Parent(s): 42d2ffe

Upload configuration file

Browse files
Files changed (1) hide show
  1. config/seed_math_deepmind.yaml +85 -0
config/seed_math_deepmind.yaml ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ operators:
2
+ - id: load_math_alg
3
+ config:
4
+ type: hf_source
5
+ dataset: deepmind/math_dataset
6
+ split: train
7
+ subset: algebra__linear_2d_composed
8
+ trust_remote_code: True
9
+ - id: load_math_poly_eval
10
+ config:
11
+ type: hf_source
12
+ dataset: deepmind/math_dataset
13
+ split: train
14
+ subset: polynomials__evaluate_composed
15
+ trust_remote_code: True
16
+ - id: load_math_prob_seq
17
+ config:
18
+ type: hf_source
19
+ dataset: deepmind/math_dataset
20
+ split: train
21
+ subset: probability__swr_p_sequence
22
+ trust_remote_code: True
23
+ - id: load_math_prob_level
24
+ config:
25
+ type: hf_source
26
+ dataset: deepmind/math_dataset
27
+ split: train
28
+ subset: probability__swr_p_level_set
29
+ trust_remote_code: True
30
+ - id: load_math_poly_pow
31
+ config:
32
+ type: hf_source
33
+ dataset: deepmind/math_dataset
34
+ split: train
35
+ subset: polynomials__simplify_power
36
+ trust_remote_code: True
37
+ - id: load_math_calc
38
+ config:
39
+ type: hf_source
40
+ dataset: deepmind/math_dataset
41
+ split: train
42
+ subset: calculus__differentiate_composed
43
+ trust_remote_code: True
44
+ - id: sample_dataset
45
+ config:
46
+ type: function
47
+ function: data_strategies.commons.uniform_sample_limited
48
+ function_config:
49
+ num_samples: 50000 # 1.25% of 10000 target from stage 1
50
+ input_ids:
51
+ - load_math_calc
52
+ - load_math_poly_eval
53
+ - load_math_alg
54
+ - load_math_prob_seq
55
+ - load_math_prob_level
56
+ - load_math_poly_pow
57
+ - id: clean_up
58
+ config:
59
+ type: function
60
+ function: data_strategies.SeedMathData.utils.deepmind_map
61
+ input_ids:
62
+ - sample_dataset
63
+ - id: annotate
64
+ config:
65
+ type: completions
66
+ map: chat
67
+ map_config:
68
+ system_message: "You are a helpful assistant."
69
+ user_message_column: instruction_seed
70
+ output_column: response
71
+ model: gpt-4o-mini
72
+ temperature: 1.0
73
+ batch: True
74
+ input_ids:
75
+ - clean_up
76
+ - id: convert_to_sharegpt
77
+ config:
78
+ type: function
79
+ function: data_strategies.commons.convert_instruction_response_to_sharegpt
80
+ function_config:
81
+ input_instruction_column: instruction_seed
82
+ input_response_column: response
83
+ output_sharegpt_column: conversations
84
+ input_ids:
85
+ - annotate