Download config/4o_annotated_aops.yaml from mlfoundations-dev/4o_annotated_aops: direct link, hf CLI and curl.
- Browser
- Download file 1.56 kB
-
https://huggingface.co/datasets/mlfoundations-dev/4o_annotated_aops/resolve/main/config/4o_annotated_aops.yaml
- Command line
-
hf download hf://datasets/mlfoundations-dev/4o_annotated_aops/config/4o_annotated_aops.yaml
-
curl -L -o 4o_annotated_aops.yaml https://huggingface.co/datasets/mlfoundations-dev/4o_annotated_aops/resolve/main/config/4o_annotated_aops.yaml
1.56 kB
| operators: | |
| - id: load_numina_math | |
| config: | |
| type: "hf_source" | |
| dataset: "AI-MO/NuminaMath-CoT" | |
| split: train | |
| - id: select_aops_forum | |
| config: | |
| type: function | |
| function: data_strategies.commons.select_rows | |
| function_config: | |
| conditions: | |
| source: aops_forum | |
| input_ids: | |
| - load_numina_math | |
| - id: load_annotations | |
| config: | |
| type: "hf_source" | |
| dataset: "mlfoundations-dev/math_stratos_scale_judged_and_annotated" | |
| split: train | |
| - id: join_on_problem | |
| config: | |
| type: merge | |
| chunk_size: 100 | |
| join_column: problem | |
| input_ids: | |
| - load_annotations | |
| - select_aops_forum | |
| - id: refilter | |
| config: | |
| type: function | |
| function: data_strategies.commons.select_rows | |
| function_config: | |
| conditions: | |
| source: aops_forum | |
| input_ids: | |
| - join_on_problem | |
| - id: annotate | |
| config: | |
| type: completions | |
| map: chat | |
| map_config: | |
| system_message: "You are a helpful assistant." | |
| user_message_column: problem | |
| output_column: 4o_response | |
| model: gpt-4o-mini | |
| temperature: 1.0 | |
| require_all_responses: False | |
| batch: True | |
| input_ids: | |
| - refilter | |
| - id: convert_to_sharegpt | |
| config: | |
| type: function | |
| function: data_strategies.commons.convert_instruction_response_to_sharegpt | |
| function_config: | |
| input_instruction_column: problem | |
| input_response_column: 4o_response | |
| output_sharegpt_column: conversations | |
| input_ids: | |
| - annotate |