Download config/seed_code_magicoder_exploit.yaml from mlfoundations-dev/seed_code_self_consistency: direct link, hf CLI and curl.
- Browser
- Download file 907 Bytes
-
https://huggingface.co/datasets/mlfoundations-dev/seed_code_self_consistency/resolve/main/config/seed_code_magicoder_exploit.yaml
- Command line
-
hf download hf://datasets/mlfoundations-dev/seed_code_self_consistency/config/seed_code_magicoder_exploit.yaml
-
curl -L -o seed_code_magicoder_exploit.yaml https://huggingface.co/datasets/mlfoundations-dev/seed_code_self_consistency/resolve/main/config/seed_code_magicoder_exploit.yaml
907 Bytes
| operators: | |
| - id: load_hf_python | |
| config: | |
| type: hf_source | |
| dataset: ise-uiuc/Magicoder-OSS-Instruct-75K | |
| split: train | |
| trust_remote_code: True | |
| - id: drop_columns | |
| config: | |
| type: function | |
| function: data_strategies.commons.remove_columns | |
| function_config: | |
| columns: | |
| - lang | |
| - raw_index | |
| - index | |
| - seed | |
| - openai_fingerprint | |
| input_ids: | |
| - load_hf_python | |
| - id: rename_task_column | |
| config: | |
| type: function | |
| function: data_strategies.commons.force_rename_columns | |
| function_config: | |
| column_maps: | |
| solution: response_seed | |
| problem: instruction_seed | |
| input_ids: | |
| - drop_columns | |
| - id: sample_dataset | |
| config: | |
| type: function | |
| function: data_strategies.commons.uniform_sample_limited | |
| function_config: | |
| num_samples: 300_000 # 1.25% of 10000 target from stage 1 | |
| input_ids: | |
| - rename_task_column |