Upload configuration file
Browse files
config/wi_reasoning_fasttext_classification.yaml
CHANGED
|
@@ -1,28 +1,23 @@
|
|
| 1 |
operators:
|
| 2 |
-
|
|
|
|
| 3 |
config:
|
| 4 |
-
type:
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
|
|
|
|
|
|
| 8 |
|
| 9 |
-
- id:
|
| 10 |
config:
|
| 11 |
type: function
|
| 12 |
function: data_strategies.WebInstruct.utils.clean_dataset
|
| 13 |
function_config:
|
| 14 |
-
input_column:
|
| 15 |
output_column: cleaned_text
|
| 16 |
-
remove_columns:
|
| 17 |
-
- bff_contained_ngram_count_before_dedupe
|
| 18 |
-
- metadata
|
| 19 |
-
- previous_word_count
|
| 20 |
-
- warcinfo
|
| 21 |
-
- language_id_whole_page_fasttext
|
| 22 |
-
sharded: true
|
| 23 |
-
materialize_output: false
|
| 24 |
input_ids:
|
| 25 |
-
-
|
| 26 |
|
| 27 |
- id: classify_fasttext
|
| 28 |
config:
|
|
@@ -30,7 +25,7 @@ operators:
|
|
| 30 |
hf_repo_id: mlfoundations-dev/wi_reasoning_fasttext_training
|
| 31 |
input_column: cleaned_text
|
| 32 |
target_label: "__label__QA_doc"
|
| 33 |
-
filter_threshold: 0.
|
| 34 |
input_ids:
|
| 35 |
-
-
|
| 36 |
|
|
|
|
| 1 |
operators:
|
| 2 |
+
|
| 3 |
+
- id: load_positives
|
| 4 |
config:
|
| 5 |
+
type: hf_source
|
| 6 |
+
dataset: open-thoughts/OpenThoughts-114k
|
| 7 |
+
split: train
|
| 8 |
+
subset: metadata
|
| 9 |
+
columns:
|
| 10 |
+
- deepseek_reasoning
|
| 11 |
|
| 12 |
+
- id: clean_positives
|
| 13 |
config:
|
| 14 |
type: function
|
| 15 |
function: data_strategies.WebInstruct.utils.clean_dataset
|
| 16 |
function_config:
|
| 17 |
+
input_column: deepseek_reasoning
|
| 18 |
output_column: cleaned_text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
input_ids:
|
| 20 |
+
- load_positives
|
| 21 |
|
| 22 |
- id: classify_fasttext
|
| 23 |
config:
|
|
|
|
| 25 |
hf_repo_id: mlfoundations-dev/wi_reasoning_fasttext_training
|
| 26 |
input_column: cleaned_text
|
| 27 |
target_label: "__label__QA_doc"
|
| 28 |
+
filter_threshold: 0.8
|
| 29 |
input_ids:
|
| 30 |
+
- clean_positives
|
| 31 |
|