Upload configuration file
Browse files
config/filter_code_pos_limo.yaml
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
operators:
|
| 2 |
+
- id: load_preexisting
|
| 3 |
+
config:
|
| 4 |
+
type: load_preexisting
|
| 5 |
+
framework_name: herorun1_code_combine
|
| 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_pos_limo_neg_all_code
|
| 19 |
+
input_column: question_answer_string
|
| 20 |
+
target_label: "__label__QA_doc"
|
| 21 |
+
top_percentage_ranking: 75
|
| 22 |
+
input_ids:
|
| 23 |
+
- get_question_answer_string
|