Upload configuration file
Browse files
config/extra_puzzle_stratos_scale_annotated_with_answers.yaml
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
operators:
|
| 2 |
+
- id: hf_source
|
| 3 |
+
config:
|
| 4 |
+
type: hf_source
|
| 5 |
+
dataset: mlfoundations-dev/etash_science_puzzle
|
| 6 |
+
split: train
|
| 7 |
+
- id: hf_source_2
|
| 8 |
+
config:
|
| 9 |
+
type: hf_source
|
| 10 |
+
dataset: mlfoundations-dev/etash_science_puzzle_annotated
|
| 11 |
+
split: train
|
| 12 |
+
- id: merge
|
| 13 |
+
config:
|
| 14 |
+
type: merge
|
| 15 |
+
join_column: problem
|
| 16 |
+
input_ids:
|
| 17 |
+
- hf_source_2
|
| 18 |
+
- hf_source
|
| 19 |
+
- id: judge
|
| 20 |
+
config:
|
| 21 |
+
type: completions
|
| 22 |
+
map: deepseek_judge
|
| 23 |
+
model: gpt-4o-mini
|
| 24 |
+
map_config:
|
| 25 |
+
ground_truth_column: ground_truth_solution
|
| 26 |
+
answer_column: deepseek_solution
|
| 27 |
+
input_ids:
|
| 28 |
+
- merge
|
| 29 |
+
- id: select_true
|
| 30 |
+
config:
|
| 31 |
+
type: function
|
| 32 |
+
function: data_strategies.commons.select_rows
|
| 33 |
+
function_config:
|
| 34 |
+
conditions:
|
| 35 |
+
correct: True
|
| 36 |
+
input_ids:
|
| 37 |
+
- judge
|
| 38 |
+
- id: convert
|
| 39 |
+
config:
|
| 40 |
+
type: function
|
| 41 |
+
function: data_strategies.Stratos.etash_utils.convert_to_share_gpt
|
| 42 |
+
function_config:
|
| 43 |
+
user_column: problem
|
| 44 |
+
input_ids:
|
| 45 |
+
- select_true
|