Upload configuration file
Browse files
config/textclassifier_bad_pdfs.yaml
CHANGED
|
@@ -43,13 +43,13 @@ operators:
|
|
| 43 |
contains_math_sci_code_content: False
|
| 44 |
input_ids:
|
| 45 |
- filter_qa_pdfs
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
|
|
|
| 43 |
contains_math_sci_code_content: False
|
| 44 |
input_ids:
|
| 45 |
- filter_qa_pdfs
|
| 46 |
+
- id: filter_original_pages
|
| 47 |
+
config:
|
| 48 |
+
type: function
|
| 49 |
+
function: data_strategies.32b_exploit.seed_pdf_parser.utils.filter_pdfs_by_page_classification
|
| 50 |
+
input_dataset_map:
|
| 51 |
+
dataset_with_pages: create_urls
|
| 52 |
+
dataset_of_filtered_pdfs: filter_qa_pdfs
|
| 53 |
+
input_ids:
|
| 54 |
+
- create_urls
|
| 55 |
+
- filter_qa_pdfs
|