Download config/d2_code_longest.yaml from mlfoundations-dev/d2_code_longest: direct link, hf CLI and curl.
- Browser
- Download file 1.47 kB
-
https://huggingface.co/datasets/mlfoundations-dev/d2_code_longest/resolve/bc304322bdaec19a6a400d2ddcef992af06e5da3/config/d2_code_longest.yaml
- Command line
-
hf download hf://datasets/mlfoundations-dev/d2_code_longest@bc304322bdaec19a6a400d2ddcef992af06e5da3/config/d2_code_longest.yaml
-
curl -L -o d2_code_longest.yaml https://huggingface.co/datasets/mlfoundations-dev/d2_code_longest/resolve/bc304322bdaec19a6a400d2ddcef992af06e5da3/config/d2_code_longest.yaml
1.47 kB
| operators: | |
| - id: load_preexisting | |
| config: | |
| type: hf_source | |
| dataset: mlfoundations-dev/c2_code_nod_16s_test | |
| split: train | |
| - id: drop_columns | |
| config: | |
| type: function | |
| function: data_strategies.commons.remove_columns | |
| function_config: | |
| columns: | |
| - conversations | |
| input_ids: | |
| - load_preexisting | |
| - id: merge_together | |
| config: | |
| type: function | |
| function: data_strategies.TestTime.generator.merge_duplicate_rows | |
| function_config: | |
| id_column: ms_id | |
| diff_columns: | |
| - final_reasoning_trace | |
| - reasoning | |
| - deepseek_solution | |
| input_ids: | |
| - drop_columns | |
| - id: longest_verification | |
| config: | |
| type: function | |
| function: data_strategies._D2_IA_Filtering.utils.k_longest_verification | |
| function_config: | |
| k: 10 | |
| response_column: final_reasoning_trace | |
| verified_response_column: verified_final_reasoning_trace | |
| input_ids: | |
| - merge_together | |
| - 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: verified_final_reasoning_trace | |
| output_sharegpt_column: conversations | |
| input_ids: | |
| - longest_verification | |
| - id: final_sample | |
| config: | |
| type: function | |
| function: data_strategies.commons.uniform_sample_fixed | |
| function_config: | |
| num_samples: 31_600 | |
| input_ids: | |
| - convert_to_sharegpt |