parquet-converter commited on
Commit
0303c65
·
1 Parent(s): 0a34640

Update parquet files

Browse files
.gitattributes DELETED
@@ -1,29 +0,0 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bin.* filter=lfs diff=lfs merge=lfs -text
5
- *.bz2 filter=lfs diff=lfs merge=lfs -text
6
- *.ftz filter=lfs diff=lfs merge=lfs -text
7
- *.gz filter=lfs diff=lfs merge=lfs -text
8
- *.h5 filter=lfs diff=lfs merge=lfs -text
9
- *.joblib filter=lfs diff=lfs merge=lfs -text
10
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.model filter=lfs diff=lfs merge=lfs -text
12
- *.msgpack filter=lfs diff=lfs merge=lfs -text
13
- *.onnx filter=lfs diff=lfs merge=lfs -text
14
- *.ot filter=lfs diff=lfs merge=lfs -text
15
- *.parquet filter=lfs diff=lfs merge=lfs -text
16
- *.pb filter=lfs diff=lfs merge=lfs -text
17
- *.pt filter=lfs diff=lfs merge=lfs -text
18
- *.pth filter=lfs diff=lfs merge=lfs -text
19
- *.rar filter=lfs diff=lfs merge=lfs -text
20
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
- *.tar.* filter=lfs diff=lfs merge=lfs -text
22
- *.tflite filter=lfs diff=lfs merge=lfs -text
23
- *.tgz filter=lfs diff=lfs merge=lfs -text
24
- *.xz filter=lfs diff=lfs merge=lfs -text
25
- *.zip filter=lfs diff=lfs merge=lfs -text
26
- *.zstandard filter=lfs diff=lfs merge=lfs -text
27
- *tfevents* filter=lfs diff=lfs merge=lfs -text
28
- *.json filter=lfs diff=lfs merge=lfs -text
29
- *.jsonl filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md DELETED
@@ -1,9 +0,0 @@
1
- # TREC Question Classification
2
-
3
- Question classification in coarse and fine-grained categories.
4
-
5
- Source:
6
-
7
- [Experimental Data for Question Classification](https://cogcomp.seas.upenn.edu/Data/QA/QC/)
8
-
9
- Xin Li, Dan Roth, Learning Question Classifiers. COLING'02, Aug., 2002.
 
 
 
 
 
 
 
 
 
 
test.jsonl → SetFit--TREC-QC/json-test.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fafc3f4576ccfb08a8d8e95a3a93041ebf61deaa8a020e26963617f171bdc6e6
3
- size 109385
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:69df848919ceec9a2ac04bb335083529120d609769882dad500d71d72280fda4
3
+ size 19719
train.jsonl → SetFit--TREC-QC/json-train.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2ccf359da160a8e461c4d85cc4b20aafe5defc3175489fc4f93e9ede20f0f215
3
- size 1272405
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b550b8238f952fffcef2032c8d3f3455f446ab9e7a292adb212b5c424d3a9bd
3
+ size 239556
TREC_10.label DELETED
@@ -1,500 +0,0 @@
1
- NUM:dist How far is it from Denver to Aspen ?
2
- LOC:city What county is Modesto , California in ?
3
- HUM:desc Who was Galileo ?
4
- DESC:def What is an atom ?
5
- NUM:date When did Hawaii become a state ?
6
- NUM:dist How tall is the Sears Building ?
7
- HUM:gr George Bush purchased a small interest in which baseball team ?
8
- ENTY:plant What is Australia 's national flower ?
9
- DESC:reason Why does the moon turn orange ?
10
- DESC:def What is autism ?
11
- LOC:city What city had a world fair in 1900 ?
12
- HUM:ind What person 's head is on a dime ?
13
- NUM:weight What is the average weight of a Yellow Labrador ?
14
- HUM:ind Who was the first man to fly across the Pacific Ocean ?
15
- NUM:date When did Idaho become a state ?
16
- NUM:other What is the life expectancy for crickets ?
17
- ENTY:substance What metal has the highest melting point ?
18
- HUM:ind Who developed the vaccination against polio ?
19
- DESC:def What is epilepsy ?
20
- NUM:date What year did the Titanic sink ?
21
- HUM:ind Who was the first American to walk in space ?
22
- DESC:def What is a biosphere ?
23
- LOC:other What river in the US is known as the Big Muddy ?
24
- DESC:def What is bipolar disorder ?
25
- DESC:def What is cholesterol ?
26
- HUM:ind Who developed the Macintosh computer ?
27
- DESC:def What is caffeine ?
28
- LOC:other What imaginary line is halfway between the North and South Poles ?
29
- LOC:other Where is John Wayne airport ?
30
- LOC:other What hemisphere is the Philippines in ?
31
- NUM:speed What is the average speed of the horses at the Kentucky Derby ?
32
- LOC:mount Where are the Rocky Mountains ?
33
- DESC:def What are invertebrates ?
34
- NUM:temp What is the temperature at the center of the earth ?
35
- NUM:date When did John F. Kennedy get elected as President ?
36
- NUM:period How old was Elvis Presley when he died ?
37
- LOC:other Where is the Orinoco River ?
38
- NUM:dist How far is the service line from the net in tennis ?
39
- NUM:count How much fiber should you have per day ?
40
- NUM:count How many Great Lakes are there ?
41
- ENTY:plant Material called linen is made from what plant ?
42
- DESC:def What is Teflon ?
43
- DESC:def What is amitriptyline ?
44
- DESC:def What is a shaman ?
45
- ENTY:animal What is the proper name for a female walrus ?
46
- ENTY:animal What is a group of turkeys called ?
47
- NUM:period How long did Rip Van Winkle sleep ?
48
- DESC:def What are triglycerides ?
49
- NUM:count How many liters in a gallon ?
50
- HUM:gr What is the name of the chocolate company in San Francisco ?
51
- DESC:def What are amphibians ?
52
- HUM:ind Who discovered x-rays ?
53
- HUM:ind Which comedian 's signature line is `` Can we talk '' ?
54
- DESC:def What is fibromyalgia ?
55
- DESC:desc What is done with worn or outdated flags ?
56
- DESC:def What does cc in engines mean ?
57
- NUM:date When did Elvis Presley die ?
58
- LOC:city What is the capital of Yugoslavia ?
59
- LOC:city Where is Milan ?
60
- NUM:speed What is the speed hummingbirds fly ?
61
- LOC:city What is the oldest city in the United States ?
62
- HUM:ind What was W.C. Fields ' real name ?
63
- LOC:other What river flows between Fargo , North Dakota and Moorhead , Minnesota ?
64
- ENTY:food What do bats eat ?
65
- LOC:state What state did the Battle of Bighorn take place in ?
66
- HUM:desc Who was Abraham Lincoln ?
67
- ENTY:termeq What do you call a newborn kangaroo ?
68
- DESC:def What are spider veins ?
69
- NUM:date What day and month did John Lennon die ?
70
- LOC:other What strait separates North America from Asia ?
71
- NUM:other What is the population of Seattle ?
72
- NUM:money How much was a ticket for the Titanic ?
73
- LOC:city What is the largest city in the world ?
74
- HUM:ind What American composer wrote the music for `` West Side Story '' ?
75
- LOC:other Where is the Mall of the America ?
76
- DESC:def What is the pH scale ?
77
- ENTY:currency What type of currency is used in Australia ?
78
- NUM:dist How tall is the Gateway Arch in St. Louis , MO ?
79
- NUM:weight How much does the human adult female brain weigh ?
80
- HUM:ind Who was the first governor of Alaska ?
81
- DESC:def What is a prism ?
82
- NUM:date When was the first liver transplant ?
83
- HUM:ind Who was elected president of South Africa in 1994 ?
84
- NUM:other What is the population of China ?
85
- NUM:date When was Rosa Parks born ?
86
- DESC:reason Why is a ladybug helpful ?
87
- DESC:def What is amoxicillin ?
88
- HUM:ind Who was the first female United States Representative ?
89
- DESC:def What are xerophytes ?
90
- LOC:country What country did Ponce de Leon come from ?
91
- ENTY:event The U.S. Department of Treasury first issued paper currency for the U.S. during which war ?
92
- DESC:def What is desktop publishing ?
93
- NUM:temp What is the temperature of the sun 's surface ?
94
- NUM:date What year did Canada join the United Nations ?
95
- HUM:gr What is the oldest university in the US ?
96
- LOC:other Where is Prince Edward Island ?
97
- NUM:date Mercury , what year was it discovered ?
98
- DESC:def What is cryogenics ?
99
- DESC:def What are coral reefs ?
100
- ENTY:other What is the longest major league baseball-winning streak ?
101
- DESC:def What is neurology ?
102
- HUM:ind Who invented the calculator ?
103
- DESC:manner How do you measure earthquakes ?
104
- HUM:desc Who is Duke Ellington ?
105
- LOC:city What county is Phoenix , AZ in ?
106
- DESC:def What is a micron ?
107
- NUM:temp The sun 's core , what is the temperature ?
108
- ENTY:animal What is the Ohio state bird ?
109
- NUM:date When were William Shakespeare 's twins born ?
110
- LOC:other What is the highest dam in the U.S. ?
111
- ENTY:color What color is a poison arrow frog ?
112
- DESC:def What is acupuncture ?
113
- NUM:dist What is the length of the coastline of the state of Alaska ?
114
- HUM:ind What is the name of Neil Armstrong 's wife ?
115
- ENTY:plant What is Hawaii 's state flower ?
116
- HUM:ind Who won Ms. American in 1989 ?
117
- NUM:date When did the Hindenberg crash ?
118
- ENTY:substance What mineral helps prevent osteoporosis ?
119
- NUM:date What was the last year that the Chicago Cubs won the World Series ?
120
- LOC:other Where is Perth ?
121
- NUM:date What year did WWII begin ?
122
- NUM:dist What is the diameter of a golf ball ?
123
- DESC:def What is an eclipse ?
124
- HUM:ind Who discovered America ?
125
- NUM:dist What is the earth 's diameter ?
126
- HUM:ind Which president was unmarried ?
127
- NUM:dist How wide is the Milky Way galaxy ?
128
- NUM:date During which season do most thunderstorms occur ?
129
- DESC:def What is Wimbledon ?
130
- NUM:period What is the gestation period for a cat ?
131
- NUM:dist How far is a nautical mile ?
132
- HUM:ind Who was the abolitionist who led the raid on Harper 's Ferry in 1859 ?
133
- DESC:def What does target heart rate mean ?
134
- ENTY:product What was the first satellite to go into space ?
135
- DESC:def What is foreclosure ?
136
- ENTY:other What is the major fault line near Kentucky ?
137
- LOC:other Where is the Holland Tunnel ?
138
- HUM:ind Who wrote the hymn `` Amazing Grace '' ?
139
- HUM:title What position did Willie Davis play in baseball ?
140
- DESC:def What are platelets ?
141
- DESC:def What is severance pay ?
142
- ENTY:animal What is the name of Roy Roger 's dog ?
143
- LOC:other Where are the National Archives ?
144
- ENTY:animal What is a baby turkey called ?
145
- DESC:def What is poliomyelitis ?
146
- ENTY:body What is the longest bone in the human body ?
147
- HUM:ind Who is a German philosopher ?
148
- ENTY:veh What were Christopher Columbus ' three ships ?
149
- DESC:def What does Phi Beta Kappa mean ?
150
- DESC:def What is nicotine ?
151
- ENTY:termeq What is another name for vitamin B1 ?
152
- HUM:ind Who discovered radium ?
153
- DESC:def What are sunspots ?
154
- NUM:date When was Algeria colonized ?
155
- HUM:gr What baseball team was the first to make numbers part of their uniform ?
156
- LOC:other What continent is Egypt on ?
157
- LOC:city What is the capital of Mongolia ?
158
- DESC:def What is nanotechnology ?
159
- LOC:other In the late 1700 's British convicts were used to populate which colony ?
160
- LOC:state What state is the geographic center of the lower 48 states ?
161
- DESC:def What is an obtuse angle ?
162
- DESC:def What are polymers ?
163
- NUM:date When is hurricane season in the Caribbean ?
164
- LOC:other Where is the volcano Mauna Loa ?
165
- ENTY:termeq What is another astronomic term for the Northern Lights ?
166
- LOC:other What peninsula is Spain part of ?
167
- NUM:date When was Lyndon B. Johnson born ?
168
- DESC:def What is acetaminophen ?
169
- LOC:state What state has the least amount of rain per year ?
170
- HUM:ind Who founded American Red Cross ?
171
- NUM:date What year did the Milwaukee Braves become the Atlanta Braves ?
172
- NUM:speed How fast is alcohol absorbed ?
173
- NUM:date When is the summer solstice ?
174
- DESC:def What is supernova ?
175
- LOC:other Where is the Shawnee National Forest ?
176
- LOC:state What U.S. state 's motto is `` Live free or Die '' ?
177
- LOC:other Where is the Lourve ?
178
- NUM:date When was the first stamp issued ?
179
- ENTY:color What primary colors do you mix to make orange ?
180
- NUM:dist How far is Pluto from the sun ?
181
- LOC:other What body of water are the Canary Islands in ?
182
- DESC:def What is neuropathy ?
183
- LOC:other Where is the Euphrates River ?
184
- DESC:def What is cryptography ?
185
- ENTY:substance What is natural gas composed of ?
186
- HUM:ind Who is the Prime Minister of Canada ?
187
- HUM:ind What French ruler was defeated at the battle of Waterloo ?
188
- DESC:def What is leukemia ?
189
- LOC:other Where did Howard Hughes die ?
190
- ENTY:substance What is the birthstone for June ?
191
- ENTY:other What is the sales tax in Minnesota ?
192
- NUM:dist What is the distance in miles from the earth to the sun ?
193
- NUM:period What is the average life span for a chicken ?
194
- NUM:date When was the first Wal-Mart store opened ?
195
- DESC:def What is relative humidity ?
196
- LOC:city What city has the zip code of 35824 ?
197
- ENTY:currency What currency is used in Algeria ?
198
- HUM:ind Who invented the hula hoop ?
199
- ENTY:product What was the most popular toy in 1957 ?
200
- ENTY:substance What is pastrami made of ?
201
- ENTY:product What is the name of the satellite that the Soviet Union sent into space in 1957 ?
202
- LOC:city What city 's newspaper is called `` The Enquirer '' ?
203
- HUM:ind Who invented the slinky ?
204
- ENTY:animal What are the animals that don 't have backbones called ?
205
- NUM:other What is the melting point of copper ?
206
- LOC:other Where is the volcano Olympus Mons located ?
207
- HUM:ind Who was the 23rd president of the United States ?
208
- NUM:temp What is the average body temperature ?
209
- DESC:desc What does a defibrillator do ?
210
- DESC:desc What is the effect of acid rain ?
211
- NUM:date What year did the United States abolish the draft ?
212
- NUM:speed How fast is the speed of light ?
213
- LOC:state What province is Montreal in ?
214
- LOC:other What New York City structure is also known as the Twin Towers ?
215
- DESC:def What is fungus ?
216
- ENTY:lang What is the most frequently spoken language in the Netherlands ?
217
- DESC:def What is sodium chloride ?
218
- ENTY:termeq What are the spots on dominoes called ?
219
- NUM:count How many pounds in a ton ?
220
- DESC:def What is influenza ?
221
- DESC:def What is ozone depletion ?
222
- NUM:date What year was the Mona Lisa painted ?
223
- DESC:def What does `` Sitting Shiva '' mean ?
224
- ENTY:other What is the electrical output in Madrid , Spain ?
225
- LOC:mount Which mountain range in North America stretches from Maine to Georgia ?
226
- ENTY:substance What is plastic made of ?
227
- NUM:other What is the population of Nigeria ?
228
- DESC:desc What does your spleen do ?
229
- LOC:other Where is the Grand Canyon ?
230
- HUM:ind Who invented the telephone ?
231
- NUM:date What year did the U.S. buy Alaska ?
232
- HUM:ind What is the name of the leader of Ireland ?
233
- DESC:def What is phenylalanine ?
234
- NUM:count How many gallons of water are there in a cubic foot ?
235
- ENTY:other What are the two houses of the Legislative branch ?
236
- DESC:def What is sonar ?
237
- LOC:other In Poland , where do most people live ?
238
- DESC:def What is phosphorus ?
239
- LOC:other What is the location of the Sea of Tranquility ?
240
- NUM:speed How fast is sound ?
241
- LOC:state What French province is cognac produced in ?
242
- DESC:def What is Valentine 's Day ?
243
- DESC:reason What causes gray hair ?
244
- DESC:def What is hypertension ?
245
- DESC:def What is bandwidth ?
246
- LOC:other What is the longest suspension bridge in the U.S. ?
247
- DESC:def What is a parasite ?
248
- DESC:def What is home equity ?
249
- DESC:desc What do meteorologists do ?
250
- ENTY:other What is the criterion for being legally blind ?
251
- HUM:ind Who is the tallest man in the world ?
252
- LOC:city What are the twin cities ?
253
- ENTY:other What did Edward Binney and Howard Smith invent in 1903 ?
254
- ENTY:substance What is the statue of liberty made of ?
255
- DESC:def What is pilates ?
256
- LOC:other What planet is known as the `` red '' planet ?
257
- NUM:dist What is the depth of the Nile river ?
258
- ENTY:termeq What is the colorful Korean traditional dress called ?
259
- DESC:def What is Mardi Gras ?
260
- NUM:money Mexican pesos are worth what in U.S. dollars ?
261
- HUM:ind Who was the first African American to play for the Brooklyn Dodgers ?
262
- HUM:ind Who was the first Prime Minister of Canada ?
263
- NUM:count How many Admirals are there in the U.S. Navy ?
264
- ENTY:instru What instrument did Glenn Miller play ?
265
- NUM:period How old was Joan of Arc when she died ?
266
- DESC:def What does the word fortnight mean ?
267
- DESC:def What is dianetics ?
268
- LOC:city What is the capital of Ethiopia ?
269
- NUM:period For how long is an elephant pregnant ?
270
- DESC:manner How did Janice Joplin die ?
271
- ENTY:lang What is the primary language in Iceland ?
272
- DESC:desc What is the difference between AM radio stations and FM radio stations ?
273
- DESC:def What is osteoporosis ?
274
- HUM:ind Who was the first woman governor in the U.S. ?
275
- DESC:def What is peyote ?
276
- DESC:reason What is the esophagus used for ?
277
- DESC:def What is viscosity ?
278
- NUM:date What year did Oklahoma become a state ?
279
- ABBR:abb What is the abbreviation for Texas ?
280
- ENTY:substance What is a mirror made out of ?
281
- LOC:other Where on the body is a mortarboard worn ?
282
- HUM:ind What was J.F.K. 's wife 's name ?
283
- ABBR:exp What does I.V. stand for ?
284
- DESC:def What is the chunnel ?
285
- LOC:other Where is Hitler buried ?
286
- DESC:def What are antacids ?
287
- DESC:def What is pulmonary fibrosis ?
288
- DESC:def What are Quaaludes ?
289
- DESC:def What is naproxen ?
290
- DESC:def What is strep throat ?
291
- LOC:city What is the largest city in the U.S. ?
292
- ENTY:dismed What is foot and mouth disease ?
293
- NUM:other What is the life expectancy of a dollar bill ?
294
- ENTY:termeq What do you call a professional map drawer ?
295
- DESC:def What are Aborigines ?
296
- DESC:def What is hybridization ?
297
- ENTY:color What color is indigo ?
298
- NUM:period How old do you have to be in order to rent a car in Italy ?
299
- ENTY:other What does a barometer measure ?
300
- ENTY:color What color is a giraffe 's tongue ?
301
- ABBR:exp What does USPS stand for ?
302
- NUM:date What year did the NFL go on strike ?
303
- DESC:def What is solar wind ?
304
- NUM:date What date did Neil Armstrong land on the moon ?
305
- NUM:date When was Hiroshima bombed ?
306
- LOC:other Where is the Savannah River ?
307
- HUM:ind Who was the first woman killed in the Vietnam War ?
308
- LOC:other What planet has the strongest magnetic field of all the planets ?
309
- HUM:ind Who is the governor of Alaska ?
310
- NUM:date What year did Mussolini seize power in Italy ?
311
- LOC:city What is the capital of Persia ?
312
- LOC:other Where is the Eiffel Tower ?
313
- NUM:count How many hearts does an octopus have ?
314
- DESC:def What is pneumonia ?
315
- LOC:other What is the deepest lake in the US ?
316
- DESC:def What is a fuel cell ?
317
- HUM:ind Who was the first U.S. president to appear on TV ?
318
- LOC:other Where is the Little League Museum ?
319
- ENTY:other What are the two types of twins ?
320
- LOC:other What is the brightest star ?
321
- DESC:def What is diabetes ?
322
- NUM:date When was President Kennedy shot ?
323
- ABBR:exp What is TMJ ?
324
- ENTY:color What color is yak milk ?
325
- NUM:date What date was Dwight D. Eisenhower born ?
326
- ABBR:exp What does the technical term ISDN mean ?
327
- DESC:reason Why is the sun yellow ?
328
- NUM:money What is the conversion rate between dollars and pounds ?
329
- NUM:date When was Abraham Lincoln born ?
330
- DESC:def What is the Milky Way ?
331
- DESC:def What is mold ?
332
- NUM:date What year was Mozart born ?
333
- ENTY:animal What is a group of frogs called ?
334
- ENTY:veh What is the name of William Penn 's ship ?
335
- NUM:other What is the melting point of gold ?
336
- LOC:other What is the street address of the White House ?
337
- DESC:def What is semolina ?
338
- ENTY:food What fruit is Melba sauce made from ?
339
- DESC:def What is Ursa Major ?
340
- NUM:perc What is the percentage of water content in the human body ?
341
- NUM:weight How much does water weigh ?
342
- ENTY:event What was President Lyndon Johnson 's reform program called ?
343
- NUM:perc What is the murder rate in Windsor , Ontario ?
344
- HUM:ind Who is the only president to serve 2 non-consecutive terms ?
345
- NUM:other What is the population of Australia ?
346
- HUM:ind Who painted the ceiling of the Sistine Chapel ?
347
- ENTY:dismed Name a stimulant .
348
- DESC:desc What is the effect of volcanoes on the climate ?
349
- NUM:date What year did the Andy Griffith show begin ?
350
- DESC:def What is acid rain ?
351
- NUM:date What is the date of Mexico 's independence ?
352
- LOC:other What is the location of Lake Champlain ?
353
- ENTY:plant What is the Illinois state flower ?
354
- ENTY:animal What is Maryland 's state bird ?
355
- DESC:def What is quicksilver ?
356
- HUM:ind Who wrote `` The Divine Comedy '' ?
357
- NUM:speed What is the speed of light ?
358
- NUM:dist What is the width of a football field ?
359
- DESC:reason Why in tennis are zero points called love ?
360
- ENTY:animal What kind of dog was Toto in the Wizard of Oz ?
361
- DESC:def What is a thyroid ?
362
- DESC:def What does ciao mean ?
363
- ENTY:body What is the only artery that carries blue blood from the heart to the lungs ?
364
- NUM:other How often does Old Faithful erupt at Yellowstone National Park ?
365
- DESC:def What is acetic acid ?
366
- NUM:dist What is the elevation of St. Louis , MO ?
367
- ENTY:color What color does litmus paper turn when it comes into contact with a strong acid ?
368
- ENTY:color What are the colors of the German flag ?
369
- DESC:def What is the Moulin Rouge ?
370
- LOC:other What soviet seaport is on the Black Sea ?
371
- NUM:weight What is the atomic weight of silver ?
372
- ENTY:currency What currency do they use in Brazil ?
373
- DESC:def What are pathogens ?
374
- DESC:def What is mad cow disease ?
375
- ENTY:food Name a food high in zinc .
376
- NUM:date When did North Carolina enter the union ?
377
- LOC:other Where do apple snails live ?
378
- DESC:def What are ethics ?
379
- ABBR:exp What does CPR stand for ?
380
- DESC:def What is an annuity ?
381
- HUM:ind Who killed John F. Kennedy ?
382
- HUM:ind Who was the first vice president of the U.S. ?
383
- ENTY:substance What birthstone is turquoise ?
384
- HUM:ind Who was the first US President to ride in an automobile to his inauguration ?
385
- NUM:period How old was the youngest president of the United States ?
386
- NUM:date When was Ulysses S. Grant born ?
387
- DESC:def What is Muscular Dystrophy ?
388
- HUM:ind Who lived in the Neuschwanstein castle ?
389
- DESC:def What is propylene glycol ?
390
- DESC:def What is a panic disorder ?
391
- HUM:ind Who invented the instant Polaroid camera ?
392
- DESC:def What is a carcinogen ?
393
- ENTY:animal What is a baby lion called ?
394
- NUM:other What is the world 's population ?
395
- DESC:def What is nepotism ?
396
- DESC:def What is die-casting ?
397
- DESC:def What is myopia ?
398
- NUM:other What is the sales tax rate in New York ?
399
- NUM:perc Developing nations comprise what percentage of the world 's population ?
400
- LOC:mount What is the fourth highest mountain in the world ?
401
- HUM:ind What is Shakespeare 's nickname ?
402
- ENTY:substance What is the heaviest naturally occurring element ?
403
- NUM:date When is Father 's Day ?
404
- ABBR:exp What does the acronym NASA stand for ?
405
- NUM:dist How long is the Columbia River in miles ?
406
- LOC:city What city 's newspaper is called `` The Star '' ?
407
- DESC:def What is carbon dioxide ?
408
- LOC:other Where is the Mason/Dixon line ?
409
- NUM:date When was the Boston tea party ?
410
- DESC:def What is metabolism ?
411
- HUM:ind Which U.S.A. president appeared on `` Laugh-In '' ?
412
- ENTY:substance What are cigarettes made of ?
413
- LOC:city What is the capital of Zimbabwe ?
414
- ABBR:exp What does NASA stand for ?
415
- ENTY:plant What is the state flower of Michigan ?
416
- DESC:def What are semiconductors ?
417
- DESC:def What is nuclear power ?
418
- DESC:def What is a tsunami ?
419
- HUM:ind Who is the congressman from state of Texas on the armed forces committee ?
420
- HUM:ind Who was president in 1913 ?
421
- NUM:date When was the first kidney transplant ?
422
- LOC:other What are Canada 's two territories ?
423
- ENTY:veh What was the name of the plane Lindbergh flew solo across the Atlantic ?
424
- DESC:def What is genocide ?
425
- LOC:other What continent is Argentina on ?
426
- ENTY:other What monastery was raided by Vikings in the late eighth century ?
427
- DESC:def What is an earthquake ?
428
- LOC:other Where is the tallest roller coaster located ?
429
- DESC:def What are enzymes ?
430
- HUM:ind Who discovered oxygen ?
431
- DESC:def What is bangers and mash ?
432
- ENTY:animal What is the name given to the Tiger at Louisiana State University ?
433
- LOC:other Where are the British crown jewels kept ?
434
- HUM:ind Who was the first person to reach the North Pole ?
435
- DESC:def What is an ulcer ?
436
- DESC:def What is vertigo ?
437
- DESC:def What is the spirometer test ?
438
- NUM:date When is the official first day of summer ?
439
- ABBR:exp What does the abbreviation SOS mean ?
440
- ENTY:animal What is the smallest bird in Britain ?
441
- HUM:ind Who invented Trivial Pursuit ?
442
- ENTY:substance What gasses are in the troposphere ?
443
- LOC:country Which country has the most water pollution ?
444
- ENTY:animal What is the scientific name for elephant ?
445
- HUM:ind Who is the actress known for her role in the movie `` Gypsy '' ?
446
- ENTY:animal What breed of hunting dog did the Beverly Hillbillies own ?
447
- LOC:other What is the rainiest place on Earth ?
448
- HUM:ind Who was the first African American to win the Nobel Prize in literature ?
449
- NUM:date When is St. Patrick 's Day ?
450
- ENTY:animal What was FDR 's dog 's name ?
451
- ENTY:color What colors need to be mixed to get the color pink ?
452
- ENTY:sport What is the most popular sport in Japan ?
453
- ENTY:food What is the active ingredient in baking soda ?
454
- NUM:date When was Thomas Jefferson born ?
455
- NUM:temp How cold should a refrigerator be ?
456
- NUM:date When was the telephone invented ?
457
- ENTY:color What is the most common eye color ?
458
- LOC:other Where was the first golf course in the United States ?
459
- DESC:def What is schizophrenia ?
460
- DESC:def What is angiotensin ?
461
- HUM:gr What did Jesse Jackson organize ?
462
- ENTY:animal What is New York 's state bird ?
463
- LOC:other What is the National Park in Utah ?
464
- NUM:date What is Susan B. Anthony 's birthday ?
465
- LOC:state In which state would you find the Catskill Mountains ?
466
- ENTY:termeq What do you call a word that is spelled the same backwards and forwards ?
467
- DESC:def What are pediatricians ?
468
- HUM:gr What chain store is headquartered in Bentonville , Arkansas ?
469
- DESC:def What are solar cells ?
470
- DESC:def What is compounded interest ?
471
- DESC:def What are capers ?
472
- DESC:def What is an antigen ?
473
- ENTY:currency What currency does Luxembourg use ?
474
- NUM:other What is the population of Venezuela ?
475
- ENTY:other What type of polymer is used for bulletproof vests ?
476
- ENTY:currency What currency does Argentina use ?
477
- DESC:def What is a thermometer ?
478
- LOC:city What Canadian city has the largest population ?
479
- ENTY:color What color are crickets ?
480
- LOC:country Which country gave New York the Statue of Liberty ?
481
- ENTY:product What was the name of the first U.S. satellite sent into space ?
482
- ENTY:substance What precious stone is a form of pure carbon ?
483
- ENTY:substance What kind of gas is in a fluorescent bulb ?
484
- DESC:def What is rheumatoid arthritis ?
485
- LOC:other What river runs through Rowe , Italy ?
486
- DESC:def What is cerebral palsy ?
487
- LOC:city What city is also known as `` The Gateway to the West '' ?
488
- NUM:dist How far away is the moon ?
489
- ENTY:other What is the source of natural gas ?
490
- ENTY:veh In what spacecraft did U.S. astronaut Alan Shepard make his historic 1961 flight ?
491
- DESC:def What is pectin ?
492
- DESC:def What is bio-diversity ?
493
- ENTY:techmeth What 's the easiest way to remove wallpaper ?
494
- NUM:date What year did the Titanic start on its journey ?
495
- NUM:count How much of an apple is water ?
496
- HUM:ind Who was the 22nd President of the US ?
497
- ENTY:currency What is the money they use in Zambia ?
498
- NUM:count How many feet in a mile ?
499
- ENTY:substance What is the birthstone of October ?
500
- DESC:def What is e-coli ?
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
prepare.py DELETED
@@ -1,43 +0,0 @@
1
- import json
2
-
3
- q_main_types = {}
4
- q_sub_types = {}
5
-
6
- for line in open('question_types.txt'):
7
- if line.startswith(" "):
8
- sub_type, sub_desc = line.strip().split(maxsplit=1)
9
- q_sub_types[f"{main_type}:{sub_type}"] = f"{sub_desc}"
10
- else:
11
- main_type, main_desc = line.strip().split(maxsplit=1)
12
- q_main_types[main_type] = main_desc
13
-
14
- print(q_main_types)
15
- print(q_sub_types)
16
-
17
- label2int = {}
18
- label2int_coarse = {}
19
-
20
- def prepare(in_path, out_path):
21
- with open(in_path, encoding='utf8') as fIn, open(out_path, "w") as fOut:
22
- for line in fIn:
23
- label, text = line.strip().split(maxsplit=1)
24
-
25
- label_coarse = label.split(":")[0]
26
-
27
- if label not in label2int:
28
- label2int[label] = len(label2int)
29
-
30
- if label_coarse not in label2int_coarse:
31
- label2int_coarse[label_coarse] = len(label2int_coarse)
32
-
33
-
34
- fOut.write(json.dumps({'text': text,
35
- 'label': label2int[label],
36
- 'label_text': q_sub_types[label],
37
- 'label_original': label,
38
- 'label_coarse': label2int_coarse[label_coarse],
39
- 'label_coarse_text': q_main_types[label_coarse],
40
- 'label_coarse_original': label_coarse})+"\n")
41
-
42
- prepare("train_5500.label", "train.jsonl")
43
- prepare("TREC_10.label", "test.jsonl")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
question_types.txt DELETED
@@ -1,56 +0,0 @@
1
- ABBR abbreviation
2
- abb abbreviation
3
- exp expression abbreviated
4
- ENTY entities
5
- animal animals
6
- body organs of body
7
- color colors
8
- cremat inventions, books and other creative pieces
9
- currency currency names
10
- dismed diseases and medicine
11
- event events
12
- food food
13
- instru musical instrument
14
- lang languages
15
- letter letters like a-z
16
- other other entities
17
- plant plants
18
- product products
19
- religion religions
20
- sport sports
21
- substance elements and substances
22
- symbol symbols and signs
23
- techmeth techniques and methods
24
- termeq equivalent terms
25
- veh vehicles
26
- word words with a special property
27
- DESC description and abstract concepts
28
- def definition of something
29
- desc description of something
30
- manner manner of an action
31
- reason reasons
32
- HUM human beings
33
- gr a group or organization of persons
34
- ind an individual
35
- title title of a person
36
- desc description of a person
37
- LOC locations
38
- city cities
39
- country countries
40
- mount mountains
41
- other other locations
42
- state states
43
- NUM numeric values
44
- code postcodes or other codes
45
- count number of something
46
- date dates
47
- dist linear measures
48
- money prices
49
- ord ranks
50
- other other numbers
51
- period the lasting time of something
52
- perc fractions
53
- speed speed
54
- temp temperature
55
- volsize size, area and volume
56
- weight weight
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
train_5500.label DELETED
The diff for this file is too large to render. See raw diff