Upload configuration file
Browse files
config/textclassifier_train_on_pdfs__v2.yaml
CHANGED
|
@@ -77,7 +77,7 @@ operators:
|
|
| 77 |
input_ids:
|
| 78 |
- filter_original_pages
|
| 79 |
|
| 80 |
-
- id:
|
| 81 |
config:
|
| 82 |
type: train_fasttext
|
| 83 |
text_column: cleaned_text
|
|
@@ -103,3 +103,29 @@ operators:
|
|
| 103 |
filter_threshold: 0.5
|
| 104 |
input_ids:
|
| 105 |
- create_urls
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
input_ids:
|
| 78 |
- filter_original_pages
|
| 79 |
|
| 80 |
+
- id: train_fasttext_classifier
|
| 81 |
config:
|
| 82 |
type: train_fasttext
|
| 83 |
text_column: cleaned_text
|
|
|
|
| 103 |
filter_threshold: 0.5
|
| 104 |
input_ids:
|
| 105 |
- create_urls
|
| 106 |
+
- id: train_fasttext_classifier__retrain
|
| 107 |
+
config:
|
| 108 |
+
type: train_fasttext
|
| 109 |
+
text_column: cleaned_text
|
| 110 |
+
positive_input_ids:
|
| 111 |
+
- rename_good_pdf_columns
|
| 112 |
+
negative_input_ids:
|
| 113 |
+
- rename_bad_pdf_columns
|
| 114 |
+
dim: 256
|
| 115 |
+
epoch: 3
|
| 116 |
+
lr: 0.1
|
| 117 |
+
word_ngrams: 6
|
| 118 |
+
min_count: 6
|
| 119 |
+
hf_repo_id: mlfoundations-dev/science_pdf_fasttext_classifier_v2_a
|
| 120 |
+
input_ids:
|
| 121 |
+
- rename_good_pdf_columns
|
| 122 |
+
- rename_bad_pdf_columns
|
| 123 |
+
- id: classify_fasttext__v2
|
| 124 |
+
config:
|
| 125 |
+
type: fasttext
|
| 126 |
+
hf_repo_id: mlfoundations-dev/science_pdf_fasttext_classifier_v2_a
|
| 127 |
+
input_column: text
|
| 128 |
+
target_label: "__label__QA_doc"
|
| 129 |
+
filter_threshold: 0.5
|
| 130 |
+
input_ids:
|
| 131 |
+
- create_urls
|