File size: 800 Bytes
fbf8b56 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | operators:
- id: load_preexisting
config:
type: load_preexisting
framework_name: seed_math_open2math_exploit
- id: classify
config:
type: fasttext
num_cpus: 32
hf_repo_id: mlfoundations-dev/instruction_filtering_fast_text_math_pos_numina_neg_bad_seed_math
input_column: instruction_seed
target_label: "__label__QA_doc"
top_percentage_ranking: 10
input_ids:
- load_preexisting
- 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: "open2math"
input_ids:
- keep_only |