EtashGuha commited on
Commit
ce6c5b2
·
verified ·
1 Parent(s): 3b849c4

Upload configuration file

Browse files
config/camel_physics_seed_science.yaml CHANGED
@@ -62,31 +62,41 @@ operators:
62
  num_samples: 5_000
63
  input_ids:
64
  - rename_task_column
65
- # - id: annotate_r1_distill_70b
66
- # config:
67
- # type: completions
68
- # map: deepseek_reasoner
69
- # map_config:
70
- # input_problem_column: problem
71
- # model: deepseek-reasoner
72
- # batch: False
73
- # temperature: 1.0
74
- # backend: openai_client
75
- # backend_params:
76
- # max_requests_per_minute: 2_500
77
- # max_tokens_per_minute: 1_000_000_000
78
- # api_key: sk-66c9461d203144cc8bda1d0e71e08799
79
- # base_url: "https://api.deepseek.com/"
80
- # invalid_finish_reasons: ['content_filter']
81
- # input_ids:
82
- # - sample_dataset
83
- # - id: convert_to_sharegpt
84
- # config:
85
- # type: function
86
- # function: data_strategies.commons.convert_instruction_response_to_sharegpt
87
- # function_config:
88
- # input_instruction_column: problem
89
- # input_response_column: reasoning
90
- # output_sharegpt_column: conversations
91
- # input_ids:
92
- # - annotate_r1_distill_70b
 
 
 
 
 
 
 
 
 
 
 
62
  num_samples: 5_000
63
  input_ids:
64
  - rename_task_column
65
+ - id: annotate_r1_distill_70b
66
+ config:
67
+ type: completions
68
+ map: deepseek_reasoner
69
+ map_config:
70
+ input_problem_column: problem
71
+ model: deepseek-reasoner
72
+ batch: False
73
+ temperature: 1.0
74
+ backend: openai_client
75
+ backend_params:
76
+ max_requests_per_minute: 2_500
77
+ max_tokens_per_minute: 1_000_000_000
78
+ api_key: sk-66c9461d203144cc8bda1d0e71e08799
79
+ base_url: "https://api.deepseek.com/"
80
+ invalid_finish_reasons: ['content_filter']
81
+ input_ids:
82
+ - sample_dataset
83
+ - id: convert_reasoning_trace_to_final
84
+ config:
85
+ type: function
86
+ function: data_strategies.commons.convert_reasoning_trace_to_final
87
+ function_config:
88
+ reasoning_column: reasoning
89
+ solution_column: deepseek_solution
90
+ output_column: final_reasoning_trace
91
+ input_ids:
92
+ - annotate_r1_distill_70b
93
+ - id: convert_to_sharegpt
94
+ config:
95
+ type: function
96
+ function: data_strategies.commons.convert_instruction_response_to_sharegpt
97
+ function_config:
98
+ input_instruction_column: problem
99
+ input_response_column: final_reasoning_trace
100
+ output_sharegpt_column: conversations
101
+ input_ids:
102
+ - convert_reasoning_trace_to_final