Download config/seed_code_glaive.yaml from mlfoundations-dev/fasttext_mixing_domains_top_4_code: direct link, hf CLI and curl.
- Browser
- Download file 1.29 kB
-
https://huggingface.co/datasets/mlfoundations-dev/fasttext_mixing_domains_top_4_code/resolve/main/config/seed_code_glaive.yaml
- Command line
-
hf download hf://datasets/mlfoundations-dev/fasttext_mixing_domains_top_4_code/config/seed_code_glaive.yaml
-
curl -L -o seed_code_glaive.yaml https://huggingface.co/datasets/mlfoundations-dev/fasttext_mixing_domains_top_4_code/resolve/main/config/seed_code_glaive.yaml
1.29 kB
| 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: 1_000_000 # 1.25% of 10000 target from stage 1 | |
| input_ids: | |
| - rename_task_column | |
| - id: classify | |
| config: | |
| type: fasttext | |
| num_cpus: 32 | |
| hf_repo_id: mlfoundations-dev/instruction_filtering_fast_text_code_pos_leetcode_taco_neg_reflection_octopack | |
| input_column: instruction_seed | |
| target_label: "__label__QA_doc" | |
| top_percentage_ranking: 10 | |
| input_ids: | |
| - sample_dataset | |
| - id: keep_only | |
| config: | |
| type: function | |
| function: data_strategies.commons.keep_only_columns | |
| function_config: | |
| columns_to_keep: | |
| - instruction_seed | |
| input_ids: | |
| - classify | |
| - id: _add_source | |
| config: | |
| type: function | |
| function: data_strategies.commons.add_constant_columns | |
| function_config: | |
| source: "glaive" | |
| input_ids: | |
| - keep_only |