Download config/fig1_code_kodcode.yaml from mlfoundations-dev/kodcode: direct link, hf CLI and curl.
- Browser
- Download file 2.28 kB
-
https://huggingface.co/datasets/mlfoundations-dev/kodcode/resolve/main/config/fig1_code_kodcode.yaml
- Command line
-
hf download hf://datasets/mlfoundations-dev/kodcode/config/fig1_code_kodcode.yaml
-
curl -L -o fig1_code_kodcode.yaml https://huggingface.co/datasets/mlfoundations-dev/kodcode/resolve/main/config/fig1_code_kodcode.yaml
2.28 kB
| operators: | |
| - id: load_hf | |
| config: | |
| type: hf_source | |
| dataset: KodCode/KodCode-V1-SFT-R1 | |
| split: train | |
| trust_remote_code: True | |
| - id: unravel_conversations | |
| config: | |
| type: function | |
| function: data_strategies.commons.convert_sharegpt_to_instruction_response | |
| function_config: | |
| input_sharegpt_column: conversations | |
| output_instruction_column: original_problem | |
| output_response_column: original_reasoning_trace | |
| role_tag: from | |
| user_tag: human | |
| content_tag: value | |
| assistant_tag: gpt | |
| drop_non_output_columns: True | |
| input_ids: | |
| - load_hf | |
| # - id: decontaminate | |
| # config: | |
| # type: cpu_function | |
| # sharded: false | |
| # num_cpus: 16 | |
| # function: data_strategies._A1_Source.utils.decontaminate_fuzzy_w_ngram | |
| # function_config: | |
| # column: problem | |
| # eval_datasets: | |
| # - HuggingFaceH4/MATH-500 | |
| # - Maxwell-Jia/AIME_2024 | |
| # - AI-MO/aimo-validation-amc | |
| # - livecodebench/code_generation_lite | |
| # - mlfoundations-dev/AIME2025_combined | |
| # - cais/hle | |
| # - open-r1/codeforces | |
| # - Idavidrein/gpqa | |
| # - daman1209arora/jeebench | |
| # - mlfoundations-dev/mmlu_pro_eval_full | |
| # - Qwen/CodeElo | |
| # - open-r1/ioi | |
| # eval_columns: | |
| # - problem | |
| # - Problem | |
| # - problem | |
| # - question_content | |
| # - question | |
| # - question | |
| # - description | |
| # - Question | |
| # - question | |
| # - prompt | |
| # - description | |
| # - statement | |
| # eval_splits: | |
| # - test | |
| # - train | |
| # - train | |
| # - test | |
| # - train | |
| # - test | |
| # - test | |
| # - train | |
| # - test | |
| # - test | |
| # - test | |
| # - test | |
| # eval_subsets: | |
| # Idavidrein/gpqa: gpqa_diamond | |
| # similarity_threshold: 75.0 | |
| # ngram_size: 13 | |
| # input_ids: | |
| # - decompose_reasoning_trace | |
| - id: convert_to_sharegpt | |
| config: | |
| type: function | |
| function: data_strategies.commons.convert_instruction_response_to_sharegpt | |
| function_config: | |
| input_instruction_column: original_problem | |
| input_response_column: original_reasoning_trace | |
| output_sharegpt_column: conversations | |
| input_ids: | |
| - unravel_conversations |