Download config/seed_code_glaive_exploit.yaml from mlfoundations-dev/seed_code_self_consistency: direct link, hf CLI and curl.
- Browser
- Download file 604 Bytes
-
https://huggingface.co/datasets/mlfoundations-dev/seed_code_self_consistency/resolve/main/config/seed_code_glaive_exploit.yaml
- Command line
-
hf download hf://datasets/mlfoundations-dev/seed_code_self_consistency/config/seed_code_glaive_exploit.yaml
-
curl -L -o seed_code_glaive_exploit.yaml https://huggingface.co/datasets/mlfoundations-dev/seed_code_self_consistency/resolve/main/config/seed_code_glaive_exploit.yaml
604 Bytes
| operators: | |
| - id: load_glaive | |
| config: | |
| type: hf_source | |
| dataset: glaiveai/glaive-code-assistant-v3 | |
| split: train | |
| - id: rename_task_column | |
| config: | |
| type: function | |
| function: data_strategies.commons.force_rename_columns | |
| function_config: | |
| column_maps: | |
| answer: response_seed | |
| question: instruction_seed | |
| input_ids: | |
| - load_glaive | |
| - 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 |