Download config/a1_math_mathcoder.yaml from mlfoundations-dev/a1_math_mathcoder: direct link, hf CLI and curl.
- Browser
- Download file 2.99 kB
-
https://huggingface.co/datasets/mlfoundations-dev/a1_math_mathcoder/resolve/71b8381da23529ccef5db166b577af4f2a471d80/config/a1_math_mathcoder.yaml
- Command line
-
hf download hf://datasets/mlfoundations-dev/a1_math_mathcoder@71b8381da23529ccef5db166b577af4f2a471d80/config/a1_math_mathcoder.yaml
-
curl -L -o a1_math_mathcoder.yaml https://huggingface.co/datasets/mlfoundations-dev/a1_math_mathcoder/resolve/71b8381da23529ccef5db166b577af4f2a471d80/config/a1_math_mathcoder.yaml
2.99 kB
| operators: | |
| - id: load_math | |
| config: | |
| type: hf_source | |
| dataset: mathmadness/MathCoder | |
| split: train | |
| trust_remote_code: True | |
| - id: clean_up | |
| config: | |
| type: function | |
| function: data_strategies.SeedMathData.utils.mathcoder_map | |
| input_ids: | |
| - load_math | |
| - id: sample_dataset_pre | |
| config: | |
| type: function | |
| function: data_strategies.commons.uniform_sample_fixed | |
| function_config: | |
| num_samples: 50_000 | |
| input_ids: | |
| - clean_up | |
| - id: decontaminate | |
| config: | |
| type: cpu_function | |
| sharded: false | |
| num_cpus: 32 | |
| function: data_strategies._A1_Source.utils.decontaminate_fuzzy_w_ngram | |
| function_config: | |
| column: instruction_seed | |
| eval_datasets: | |
| - HuggingFaceH4/MATH-500 | |
| - Maxwell-Jia/AIME_2024 | |
| - AI-MO/aimo-validation-amc | |
| - livecodebench/code_generation_lite | |
| - mlfoundations-dev/AIME2025_combined | |
| - mlfoundations-dev/cais-hle-multipleChoice-noImage | |
| - open-r1/codeforces | |
| - Idavidrein/gpqa | |
| - daman1209arora/jeebench | |
| eval_columns: | |
| - problem | |
| - Problem | |
| - problem | |
| - question_content | |
| - question | |
| - question | |
| - description | |
| - Question | |
| - question | |
| eval_splits: | |
| - test | |
| - train | |
| - train | |
| - test | |
| - train | |
| - test | |
| - test | |
| - train | |
| - test | |
| eval_subsets: | |
| Idavidrein/gpqa: gpqa_diamond | |
| similarity_threshold: 80.0 | |
| ngram_size: 13 | |
| input_ids: | |
| - sample_dataset_pre | |
| - id: sample_dataset | |
| config: | |
| type: function | |
| function: data_strategies.commons.uniform_sample_fixed | |
| function_config: | |
| num_samples: 31_600 # 1.25% of 10000 target from stage 1 | |
| input_ids: | |
| - decontaminate | |
| # - id: annotate_r1 | |
| # config: | |
| # type: completions | |
| # map: deepseek_reasoner | |
| # map_config: | |
| # input_problem_column: instruction_seed | |
| # model: deepseek-reasoner | |
| # batch: false | |
| # temperature: 1.0 | |
| # require_all_responses: false | |
| # backend: openai | |
| # backend_params: | |
| # max_requests_per_minute: 500 | |
| # max_tokens_per_minute: 1_000_000_000 | |
| # base_url: "https://api.deepseek.com/" | |
| # invalid_finish_reasons: ['content_filter'] | |
| # input_ids: | |
| # - sample_dataset | |
| # - id: convert_reasoning_trace_to_final | |
| # config: | |
| # type: function | |
| # function: data_strategies.commons.convert_reasoning_trace_to_final | |
| # function_config: | |
| # reasoning_column: reasoning | |
| # solution_column: deepseek_solution | |
| # output_column: final_reasoning_trace | |
| # input_ids: | |
| # - annotate_r1 | |
| # - id: convert_to_sharegpt | |
| # config: | |
| # type: function | |
| # function: data_strategies.commons.convert_instruction_response_to_sharegpt | |
| # function_config: | |
| # input_instruction_column: instruction_seed | |
| # input_response_column: final_reasoning_trace | |
| # output_sharegpt_column: conversations | |
| # input_ids: | |
| # - convert_reasoning_trace_to_final | |