Upload configuration file
Browse files
config/filter_openthoughts_all_code.yaml
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
operators:
|
| 2 |
+
- id: load_preexisting
|
| 3 |
+
config:
|
| 4 |
+
type: load_preexisting
|
| 5 |
+
framework_name: extra_unverified
|
| 6 |
+
- id: get_question_answer_string
|
| 7 |
+
config:
|
| 8 |
+
type: function
|
| 9 |
+
function: data_strategies.QuestionAnswerFiltering.utils.get_combined_question_answer_string_openthoughts
|
| 10 |
+
function_config:
|
| 11 |
+
output_column: question_answer_string
|
| 12 |
+
input_ids:
|
| 13 |
+
- load_preexisting
|
| 14 |
+
# - id: classify_sharegpt
|
| 15 |
+
# config:
|
| 16 |
+
# type: fasttext
|
| 17 |
+
# num_cpus: 32
|
| 18 |
+
# hf_repo_id: mlfoundations-dev/instruction_filtering_fast_text_classifier_seed_code_worst_1
|
| 19 |
+
# input_column: instruction_seed
|
| 20 |
+
# target_label: "__label__QA_doc"
|
| 21 |
+
# top_percentage_ranking: 10
|
| 22 |
+
# input_ids:
|
| 23 |
+
# - get_sharegpt
|