Zaynes commited on
Commit
854c49b
·
verified ·
1 Parent(s): 52d427e

Upload configuration file

Browse files
config/textclassifier_train_on_pdfs__v2.yaml CHANGED
@@ -85,7 +85,7 @@ operators:
85
  - rename_good_pdf_columns
86
  negative_input_ids:
87
  - rename_bad_pdf_columns
88
- dim: 256
89
  epoch: 3
90
  lr: 0.1
91
  word_ngrams: 3
@@ -94,3 +94,12 @@ operators:
94
  input_ids:
95
  - rename_good_pdf_columns
96
  - rename_bad_pdf_columns
 
 
 
 
 
 
 
 
 
 
85
  - rename_good_pdf_columns
86
  negative_input_ids:
87
  - rename_bad_pdf_columns
88
+ dim: 512
89
  epoch: 3
90
  lr: 0.1
91
  word_ngrams: 3
 
94
  input_ids:
95
  - rename_good_pdf_columns
96
  - rename_bad_pdf_columns
97
+ - id: classify_fasttext
98
+ config:
99
+ type: fasttext
100
+ hf_repo_id: mlfoundations-dev/science_pdf_fasttext_classifier_v2
101
+ input_column: text
102
+ target_label: "__label__QA_doc"
103
+ filter_threshold: 0.5
104
+ input_ids:
105
+ - create_urls