Zaynes commited on
Commit
7dd260a
·
verified ·
1 Parent(s): 878972f

Upload configuration file

Browse files
Files changed (1) hide show
  1. config/textclassifier_good_pdfs.yaml +156 -2
config/textclassifier_good_pdfs.yaml CHANGED
@@ -6,23 +6,177 @@ operators:
6
  function_config:
7
  urls:
8
  - "https://uwaterloo.ca/chemistry/sites/default/files/uploads/documents/avogadro-exam-solution-2010.pdf"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  - id: get_pdf_bytes
10
  config:
 
 
11
  type: function
12
  function: data_strategies.32b_exploit.seed_pdf_parser.utils.download_pdfs
13
  input_ids:
14
  - create_urls
15
  - id: process_pdfs
16
  config:
 
 
17
  type: function
18
  function: data_strategies.32b_exploit.seed_pdf_parser.utils.get_all_page_counts
19
  input_ids:
20
  - get_pdf_bytes
21
- - id: get_page_bytes
22
  config:
 
 
23
  type: function
 
 
 
 
 
 
 
 
 
24
  function: data_strategies.32b_exploit.seed_pdf_parser.utils.expand_and_extract_pages_raw_text
25
  function_config:
26
  page_count_column: page_count
27
  input_ids:
28
- - process_pdfs
 
6
  function_config:
7
  urls:
8
  - "https://uwaterloo.ca/chemistry/sites/default/files/uploads/documents/avogadro-exam-solution-2010.pdf"
9
+ - "https://uwaterloo.ca/chemistry/sites/default/files/uploads/documents/avogadro-exam-solution-2009.pdf"
10
+ # - "https://uwaterloo.ca/chemistry/sites/default/files/uploads/documents/avogadro-exam-solution-2008.pdf"
11
+ # - "https://uwaterloo.ca/chemistry/sites/default/files/uploads/documents/avogadro-exam-solution-2007.pdf"
12
+ # - "https://uwaterloo.ca/chemistry/sites/default/files/uploads/documents/chem-13-news-solution-2011.pdf"
13
+ # - "https://uwaterloo.ca/chemistry/sites/default/files/uploads/documents/chem-13-news-exam-solution-2010.pdf"
14
+ # - "https://uwaterloo.ca/chemistry/sites/default/files/uploads/documents/chem-13-news-exam-solution-2009.pdf"
15
+ # - "https://uwaterloo.ca/chemistry/sites/default/files/uploads/documents/chem-13-news-exam-solution-2008.pdf"
16
+ # - "https://uwaterloo.ca/chemistry/sites/default/files/uploads/documents/chem-13-news-exam-solution-2007.pdf"
17
+ # - "https://www.press.muni.cz/media/3019066/answers_to_all_questions.pdf"
18
+ # - "https://public.wsu.edu/~thorglab/biol301/exams/finalkey.pdf"
19
+ # - "https://people.bu.edu/msoren/BI515_2014/Exam1key.pdf"
20
+ # - "https://facultystaff.richmond.edu/~lrunyenj/bio201/04bio201%20exam%201%20key.pdf"
21
+ # - "https://www.usabo-trc.org/sites/default/files/images/pdf/exams/semifinal-answers/2011-semifinal-answers.pdf"
22
+ # - "https://sites.science.oregonstate.edu/chemistry/courses/ch411/restrict2/ch411%20F11%20final%20key%20.pdf"
23
+ # - "https://www.mit.edu/~anugrah/files/MockIChOSolutions.pdf"
24
+ # - "https://www.mit.edu/~anugrah/files/2012CChOLocalSoln.pdf"
25
+ # - "https://www.cheminst.ca/wp-content/uploads/2022/11/CCC-PtA-2022-ENG-final-ANSWERS.pdf"
26
+ # - "https://www.cheminst.ca/wp-content/uploads/2022/12/Canadian-Chemistry-Olympiad-2022-EN_key.pdf"
27
+ # - "https://www.cheminst.ca/wp-content/uploads/2022/01/CCC-PtA-2021-ENG-ANSWERS.pdf"
28
+ # - "https://www.cheminst.ca/wp-content/uploads/2021/01/CCC-PtA-2020-ENG-ANSWERS-revised-COVID19.pdf"
29
+ # - "https://www.cheminst.ca/wp-content/uploads/2019/11/CCC-2019-PtA-answers.pdf"
30
+ # - "https://www.cheminst.ca/wp-content/uploads/2019/11/CCC-2017-PtA-answers-EN.pdf"
31
+ # - "https://www.cheminst.ca/wp-content/uploads/2019/11/CCC-2018-PtA-answers-EN.pdf"
32
+ # - "https://www.cheminst.ca/wp-content/uploads/2019/11/CCC-2016-PtA-answers-EN.pdf"
33
+ # - "https://www.cheminst.ca/wp-content/uploads/2019/11/CCC-2015-PtA-answers-EN.pdf"
34
+ # - "https://www.cheminst.ca/wp-content/uploads/2019/11/CCC-2014-PtA-answers-EN.pdf"
35
+ # - "https://www.ttcho.com/_files/ugd/988b76_e3d21fc42bb24de4959d7250f0cfcb3a.pdf"
36
+ # - "https://www.ttcho.com/_files/ugd/988b76_01ceeff230b24cbbb0125b2bfa3f3475.pdf"
37
+ # - "https://www.ttcho.com/_files/ugd/988b76_48944f6ace684143bfdc9080fca59862.pdf"
38
+ # - "https://www.ttcho.com/_files/ugd/988b76_ba0cb3177d05436da273a400a037ed01.pdf"
39
+ # - "http://chemistryrace.com/wp-content/uploads/2025/02/ChR_2025_answer_booklet.pdf"
40
+ # - "http://chemistryrace.com/wp-content/uploads/2024/02/ChR_2024_answer_booklet.pdf"
41
+ # - "http://chemistryrace.com/wp-content/uploads/2023/02/chemistry_race_2023_answers-book.pdf"
42
+ # - "http://chemistryrace.com/wp-content/uploads/2022/02/cambridge_chemistry_race_2022_answers.pdf"
43
+ # - "http://chemistryrace.com/wp-content/uploads/2021/02/Chemistry_Race_2021_Questions_and_Solutions.pdf"
44
+ # - "https://chemistryrace.soc.srcf.net/wp-content/uploads/2020/02/Chemistry_Race_2020_Questions_and_Solutions.pdf"
45
+ # - "https://biolympiads.com/wp-content/uploads/2015/01/2003_OpenExam_AnswerKey2.pdf"
46
+ # - "http://biolympiads.com/wp-content/uploads/2015/01/2004_OpenExam_AnswerKey4.pdf"
47
+ # - "http://biolympiads.com/wp-content/uploads/2015/01/2005_OpenExam_AnswerKey1.pdf"
48
+ # - "http://biolympiads.com/wp-content/uploads/2015/01/2006_OpenExam_AnsKey2.pdf"
49
+ # - "http://biolympiads.com/wp-content/uploads/2015/01/2007_OpenExam_AnsKey1.pdf"
50
+ # - "http://biolympiads.com/wp-content/uploads/2015/01/2008_OpenExam_AnsKey1.pdf"
51
+ # - "http://biolympiads.com/wp-content/uploads/2015/01/2009_OpenExam_AnsKey1.pdf"
52
+ # - "http://biolympiads.com/wp-content/uploads/2015/01/2010_OpenExam_AnsKey3.pdf"
53
+ # - "http://biolympiads.com/wp-content/uploads/2015/01/2011_OpenExam_AnsKey.pdf"
54
+ # - "http://biolympiads.com/wp-content/uploads/2015/01/2012_OpenExam_AnsKey2.pdf"
55
+ # - "https://www.asi.edu.au/wp-content/uploads/2024/02/ASOE-Chemistry-2023-Exam-Paper-with-Answers.pdf"
56
+ # - "https://www.asi.edu.au/wp-content/uploads/2023/05/ASOE-Chemistry-2022-ASDAN-answers.pdf"
57
+ # - "https://www.asi.edu.au/wp-content/uploads/2023/05/ASOE_Chemistry_2021_answers_reduced-FS.pdf"
58
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2020-asoe-chemistry-exam-answers.pdf"
59
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2019-asoe-chemistry-exam-answers.pdf"
60
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2018-asoe-chemistry-exam-answers.pdf"
61
+ # - "https://www.andrews.edu/~rwright/physics/OpenStax%20Physics-Student%20Solution%20Manual.pdf"
62
+ # - "https://reanphysics.wordpress.com/wp-content/uploads/2018/11/raymond_a-_serway_john_w-_jewett_student_solutibookzz-org.pdf"
63
+ # - "https://carrollscaveofknowledge.weebly.com/uploads/2/0/2/8/20287891/physics_11_regular_year_solutions_manual.pdf"
64
+ # - "https://doctor2019.jumedicine.com/wp-content/uploads/sites/10/2019/09/Giancoli-Physics-Principles-With-Applications-7th-c2014-solutions-ISM.pdf"
65
+ # - "https://ia801305.us.archive.org/8/items/ProblemsInCalculusOfOneVariableI.A.Maron/Problems%20in%20Calculus%20of%20One%20Variable%20-%20I.%20A.%20Maron.pdf"
66
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2017-asoe-chemistry-exam.pdf"
67
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2016-asoe-chemistry-exam.pdf"
68
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2015-asoe-chemistry-exam.pdf"
69
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2014-asoe-chemistry-exam.pdf"
70
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2013-asoe-chemistry-exam.pdf"
71
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2012-asoe-chemistry-exam.pdf"
72
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2011-asoe-chemistry-exam.pdf"
73
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2010-asoe-chemistry-exam.pdf"
74
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2009-asoe-chemistry-exam.pdf"
75
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2008-asoe-chemistry-exam.pdf"
76
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2007-asoe-chemistry-exam.pdf"
77
+ # - "https://www.arml.com/ARML/arml_2019/public_contest_files/2023_contest_file/ARML_2023Contest.pdf"
78
+ # - "https://jeeadv.ac.in/past_qps/2007_1.pdf"
79
+ # - "https://jeeadv.ac.in/past_qps/2007_2.pdf"
80
+ # - "https://jeeadv.ac.in/past_qps/2008_1.pdf"
81
+ # - "https://jeeadv.ac.in/past_qps/2008_2.pdf"
82
+ # - "https://jeeadv.ac.in/past_qps/2009_1.pdf"
83
+ # - "https://jeeadv.ac.in/past_qps/2009_2.pdf"
84
+ # - "https://jeeadv.ac.in/past_qps/2010_1.pdf"
85
+ # - "https://jeeadv.ac.in/past_qps/2010_2.pdf"
86
+ # - "https://jeeadv.ac.in/past_qps/2011_1.pdf"
87
+ # - "https://jeeadv.ac.in/past_qps/2011_2.pdf"
88
+ # - "https://jeeadv.ac.in/past_qps/2012_1.pdf"
89
+ # - "https://jeeadv.ac.in/past_qps/2012_2.pdf"
90
+ # - "https://jeeadv.ac.in/past_qps/2013_1.pdf"
91
+ # - "https://jeeadv.ac.in/past_qps/2013_2.pdf"
92
+ # - "https://jeeadv.ac.in/past_qps/2014_1.pdf"
93
+ # - "https://jeeadv.ac.in/past_qps/2014_2.pdf"
94
+ # - "https://jeeadv.ac.in/past_qps/2015_1.pdf"
95
+ # - "https://jeeadv.ac.in/past_qps/2015_2.pdf"
96
+ # - "https://jeeadv.ac.in/past_qps/2017_1.pdf"
97
+ # - "https://jeeadv.ac.in/past_qps/2017_2.pdf"
98
+ # - "https://jeeadv.ac.in/past_qps/2018_1.pdf"
99
+ # - "https://jeeadv.ac.in/past_qps/2018_2.pdf"
100
+ # - "https://jeeadv.ac.in/past_qps/2019_1_English.pdf"
101
+ # - "https://jeeadv.ac.in/past_qps/2019_2_English.pdf"
102
+ # - "https://jeeadv.ac.in/past_qps/2020_1_English.pdf"
103
+ # - "https://jeeadv.ac.in/past_qps/2020_2_English.pdf"
104
+ # - "https://jeeadv.ac.in/past_qps/2021_1_English.pdf"
105
+ # - "https://jeeadv.ac.in/past_qps/2021_2_English.pdf"
106
+ # - "https://jeeadv.ac.in/past_qps/2022_1_English.pdf"
107
+ # - "https://jeeadv.ac.in/past_qps/2022_2_English.pdf"
108
+ # - "https://jeeadv.ac.in/past_qps/2023_1_English.pdf"
109
+ # - "https://jeeadv.ac.in/past_qps/2023_2_English.pdf"
110
+ # - "https://jeeadv.ac.in/past_qps/2024_1_English.pdf"
111
+ # - "https://jeeadv.ac.in/past_qps/2024_2_English.pdf"
112
+ # - "https://ia600608.us.archive.org/19/items/IrodovProblemsInGeneralPhysics/Irodov-Problems_in_General_Physics.pdf"
113
+ # - "https://ia601305.us.archive.org/8/items/ProblemsInCalculusOfOneVariableI.A.Maron/Problems%20in%20Calculus%20of%20One%20Variable%20-%20I.%20A.%20Maron.pdf"
114
+ # - "https://blogmedia.testbook.com/kmat-kerala/wp-content/uploads/2023/06/physical-chemistry-by-p-bahadur-5113ed32.pdf"
115
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2023-ASOE-Physics-Past-Paper-ASI.pdf"
116
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2022-ASOE-Physics.pdf"
117
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2021-ASOE-Physics.pdf"
118
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2020-asoe-physics-exam.pdf"
119
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2019-asoe-physics-exam.pdf"
120
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2017-asoe-physics-exam.pdf"
121
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2016-asoe-physics-exam.pdf"
122
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2015-asoe-physics-exam.pdf"
123
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2014-asoe-physics-exam.pdf"
124
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2013-asoe-physics-exam.pdf"
125
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2012-asoe-physics-exam.pdf"
126
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2011-asoe-physics-exam.pdf"
127
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2010-Physics-NQE-paper-FINAL.pdf"
128
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2010-Physics-NQE-paper-FINAL.pdf"
129
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2008-asoe-physics-exam.pdf"
130
+ # - "https://www.asi.edu.au/wp-content/uploads/2022/12/2007-asoe-physics-exam.pdf"
131
+ # - "http://algorithmics.lsi.upc.edu/docs/Dasgupta-Papadimitriou-Vazirani.pdf"
132
+ # - "https://biocomp.utoronto.ca/files/2024/05/Exam2024.pdf"
133
+ # - "https://biocomp.utoronto.ca/files/2023/10/biocomp-exam-2019.pdf"
134
+ # - "https://biocomp.utoronto.ca/files/2023/10/biocomp-exam-2018_0.pdf"
135
+ # - "https://biocomp.utoronto.ca/files/2023/10/biocomp-exam-2017.pdf"
136
+ # - "https://biocomp.utoronto.ca/files/2023/10/biocomp-exam-2016.pdf"
137
+ # - "https://biocomp.utoronto.ca/files/2023/10/biocomp-exam-2015.pdf"
138
+ # - "https://www.andrews.edu/~rwright/physics/OpenStax%20Physics-Student%20Solution%20Manual.pdf"
139
+ # - "https://reanphysics.wordpress.com/wp-content/uploads/2018/11/raymond_a-_serway_john_w-_jewett_student_solutibookzz-org.pdf"
140
+ # - "https://carrollscaveofknowledge.weebly.com/uploads/2/0/2/8/20287891/physics_11_regular_year_solutions_manual.pdf"
141
+ # - "https://doctor2019.jumedicine.com/wp-content/uploads/sites/10/2019/09/Giancoli-Physics-Principles-With-Applications-7th-c2014-solutions-ISM.pdf"
142
+ # - "http://lib.ysu.am/disciplines_bk/ea4b336028cd91ba7265865d8fde153c.pdf"
143
+ # - "https://www.sfcollege.edu/_media/Assets/sf/placement/files/Chemistry%20Practice%20Placement%20Exam.pdf"
144
+ # - "https://www.pvamu.edu/chemistry/wp-content/uploads/sites/26/_01_pract_Test.pdf"
145
+ # - "https://sccollege.edu/students/studentservices/counseling/Shared%20Documents/Chem%20Placement%20Practice%20Exam%202023.pdf"
146
+ # - "https://www.csn.edu/sites/default/files/documents/department-documents/department-of-physical-sciences/chemplacementtestpractice.pdf"
147
+ # - "https://www.mc3.edu/admissions/applying-to-mccc/testing-and-assessment/assets/biology-placement-test.pdf"
148
  - id: get_pdf_bytes
149
  config:
150
+ shard: True
151
+ num_shards: 3
152
  type: function
153
  function: data_strategies.32b_exploit.seed_pdf_parser.utils.download_pdfs
154
  input_ids:
155
  - create_urls
156
  - id: process_pdfs
157
  config:
158
+ sharded: True
159
+ num_shards: 3
160
  type: function
161
  function: data_strategies.32b_exploit.seed_pdf_parser.utils.get_all_page_counts
162
  input_ids:
163
  - get_pdf_bytes
164
+ - id: filter_bad_pdfs
165
  config:
166
+ sharded: True
167
+ num_shards: 3
168
  type: function
169
+ function: data_strategies.32b_exploit.pdf_helper.filter_bad_pdfs
170
+ input_ids:
171
+ - process_pdfs
172
+ - id: get_page_bytes
173
+ config:
174
+ type: cpu_function
175
+ num_cpus: 2
176
+ sharded: true
177
+ num_shards: 3
178
  function: data_strategies.32b_exploit.seed_pdf_parser.utils.expand_and_extract_pages_raw_text
179
  function_config:
180
  page_count_column: page_count
181
  input_ids:
182
+ - filter_bad_pdfs