abrakjamson commited on
Commit
6b01bd2
·
1 Parent(s): 187b738

restoring training files

Browse files
Files changed (3) hide show
  1. all_truncated_outputs.json +53 -0
  2. app.py +1 -0
  3. true_facts.csv +240 -0
all_truncated_outputs.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ "I am",
3
+ "You are",
4
+ "They are",
5
+ "We are",
6
+ "It is",
7
+ "This is",
8
+ "That is",
9
+ "There is",
10
+ "Here is",
11
+ "I have",
12
+ "You have",
13
+ "They have",
14
+ "We have",
15
+ "It has",
16
+ "This has",
17
+ "That has",
18
+ "I can",
19
+ "You can",
20
+ "They can",
21
+ "We can",
22
+ "It can",
23
+ "I will",
24
+ "You will",
25
+ "They will",
26
+ "We will",
27
+ "It will",
28
+ "I was",
29
+ "You were",
30
+ "They were",
31
+ "We were",
32
+ "It was",
33
+ "I feel",
34
+ "You feel",
35
+ "They feel",
36
+ "We feel",
37
+ "It feels",
38
+ "I think",
39
+ "You think",
40
+ "They think",
41
+ "We think",
42
+ "It thinks",
43
+ "I like",
44
+ "You like",
45
+ "They like",
46
+ "We like",
47
+ "It likes",
48
+ "I want",
49
+ "You want",
50
+ "They want",
51
+ "We want",
52
+ "It wants"
53
+ ]
app.py CHANGED
@@ -410,6 +410,7 @@ def train_model_persona(positive_text, negative_text):
410
  temp_file.close()
411
  return temp_file.name
412
 
 
413
  def train_model_facts(positive_text, negative_text):
414
  with open("true_facts.csv") as f:
415
  reader = csv.reader(f)
 
410
  temp_file.close()
411
  return temp_file.name
412
 
413
+ @spaces.GPU
414
  def train_model_facts(positive_text, negative_text):
415
  with open("true_facts.csv") as f:
416
  reader = csv.reader(f)
true_facts.csv ADDED
@@ -0,0 +1,240 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ The Earth revolves around the Sun.
2
+ Water boils at 100 degrees Celsius at sea level.
3
+ The capital of France is Paris.
4
+ Humans have 206 bones in their adult bodies.
5
+ Light travels faster than sound.
6
+ The Pacific Ocean is the largest ocean on Earth.
7
+ Mount Everest is the highest mountain above sea level.
8
+ Sharks are a type of fish.
9
+ The human heart has four chambers.
10
+ "Bananas grow on plants, not trees."
11
+ The Great Wall of China is visible from space only with aid.
12
+ The Moon orbits the Earth.
13
+ The Amazon River is the second longest river in the world.
14
+ The Sahara is the largest hot desert on Earth.
15
+ Penguins are birds that cannot fly.
16
+ The human body is about 60 percent water.
17
+ The Statue of Liberty is in New York Harbor.
18
+ "The speed of light is approximately 299,792 kilometers per second."
19
+ The chemical symbol for gold is Au.
20
+ The human brain contains billions of neurons.
21
+ "The Eiffel Tower is in Paris, France."
22
+ The Nile River flows through Egypt.
23
+ The Earth�s atmosphere contains about 78 percent nitrogen.
24
+ The largest planet in our solar system is Jupiter.
25
+ The currency of Japan is the yen.
26
+ The human skeleton supports and protects the body.
27
+ The Atlantic Ocean separates the Americas from Europe and Africa.
28
+ The Great Barrier Reef is off the coast of Australia.
29
+ The chemical symbol for oxygen is O.
30
+ The human eye can detect millions of colors.
31
+ The capital of Canada is Ottawa.
32
+ The Amazon rainforest is in South America.
33
+ The human liver can regenerate itself.
34
+ The Leaning Tower of Pisa is in Italy.
35
+ The chemical symbol for hydrogen is H.
36
+ The Sun is a star.
37
+ The capital of Italy is Rome.
38
+ The human skin is the body�s largest organ.
39
+ The Dead Sea is below sea level.
40
+ The chemical symbol for carbon is C.
41
+ The Earth�s core is mostly iron and nickel.
42
+ The capital of Spain is Madrid.
43
+ The human lungs are responsible for gas exchange.
44
+ The Pyramids of Giza are in Egypt.
45
+ The chemical symbol for sodium is Na.
46
+ The Earth rotates once every 24 hours.
47
+ The capital of Germany is Berlin.
48
+ The human stomach produces acid to digest food.
49
+ The Mariana Trench is the deepest oceanic trench.
50
+ The chemical symbol for potassium is K.
51
+ The equator divides the Earth into two hemispheres.
52
+ The capital of Russia is Moscow.
53
+ The human kidneys filter blood.
54
+ The Andes are the longest continental mountain range.
55
+ The chemical symbol for silver is Ag.
56
+ The Earth�s tilt causes the seasons.
57
+ The capital of China is Beijing.
58
+ The human spine has 33 vertebrae.
59
+ The Himalayas are in Asia.
60
+ The chemical symbol for iron is Fe.
61
+ The ozone layer protects Earth from ultraviolet radiation.
62
+ The capital of Australia is Canberra.
63
+ The human ear helps with balance.
64
+ The Rockies are in North America.
65
+ The chemical symbol for calcium is Ca.
66
+ The Earth�s crust is the outermost layer.
67
+ The capital of Brazil is Bras�lia.
68
+ The human nose detects smells.
69
+ The Alps are in Europe.
70
+ The chemical symbol for helium is He.
71
+ The greenhouse effect warms the Earth.
72
+ The capital of India is New Delhi.
73
+ The human tongue has taste buds.
74
+ The Pyrenees separate France and Spain.
75
+ The chemical symbol for nitrogen is N.
76
+ "The water cycle includes evaporation, condensation, and precipitation."
77
+ The capital of Egypt is Cairo.
78
+ The human blood is red due to hemoglobin.
79
+ The Ural Mountains divide Europe and Asia.
80
+ The chemical symbol for chlorine is Cl.
81
+ The Milky Way is our galaxy.
82
+ The capital of Mexico is Mexico City.
83
+ The human teeth include molars and incisors.
84
+ The Appalachian Mountains are in the United States.
85
+ The chemical symbol for copper is Cu.
86
+ The Earth�s gravity keeps the Moon in orbit.
87
+ The capital of South Korea is Seoul.
88
+ The human nails are made of keratin.
89
+ The Atlas Mountains are in Africa.
90
+ The chemical symbol for zinc is Zn.
91
+ The Earth�s magnetic field protects from solar wind.
92
+ The capital of Argentina is Buenos Aires.
93
+ The human hair grows from follicles.
94
+ The Carpathian Mountains are in Eastern Europe.
95
+ The chemical symbol for lead is Pb.
96
+ "The Earth�s circumference is about 40,075 kilometers."
97
+ The capital of Thailand is Bangkok.
98
+ The human blood circulates through arteries and veins.
99
+ The Caucasus Mountains are between Europe and Asia.
100
+ The chemical symbol for tin is Sn.
101
+ The Earth�s oceans cover about 71 percent of its surface.
102
+ The capital of Turkey is Ankara.
103
+ The human brain controls the nervous system.
104
+ The Sierra Nevada is in the United States.
105
+ The chemical symbol for mercury is Hg.
106
+ The Earth�s axis is tilted about 23.5 degrees.
107
+ The capital of Kenya is Nairobi.
108
+ The human skeleton includes the skull.
109
+ The Scandinavian Mountains are in Northern Europe.
110
+ The chemical symbol for sulfur is S.
111
+ The Earth�s rotation causes day and night.
112
+ The capital of Saudi Arabia is Riyadh.
113
+ The human muscles enable movement.
114
+ The Drakensberg Mountains are in South Africa.
115
+ The chemical symbol for phosphorus is P.
116
+ The Earth�s surface is divided into tectonic plates.
117
+ The capital of Indonesia is Jakarta.
118
+ The human digestive system breaks down food.
119
+ The Zagros Mountains are in Iran.
120
+ The chemical symbol for magnesium is Mg.
121
+ The Earth�s atmosphere has five main layers.
122
+ The capital of Greece is Athens.
123
+ The human circulatory system moves blood.
124
+ The Hindu Kush is in Afghanistan.
125
+ The chemical symbol for fluorine is F.
126
+ The Earth�s oceans are saltwater.
127
+ The capital of Nigeria is Abuja.
128
+ The human immune system fights disease.
129
+ "The Appalachian Trail is over 3,500 kilometers long."
130
+ The chemical symbol for neon is Ne.
131
+ The Earth�s moon has phases.
132
+ The capital of Sweden is Stockholm.
133
+ The human skeleton includes the rib cage.
134
+ The Alps stretch across eight countries.
135
+ The chemical symbol for argon is Ar.
136
+ The Earth�s crust is made of rock.
137
+ The capital of Norway is Oslo.
138
+ The human brain uses electrical signals.
139
+ The Rocky Mountains extend into Canada.
140
+ The chemical symbol for bromine is Br.
141
+ The Earth�s mantle lies beneath the crust.
142
+ The capital of Chile is Santiago.
143
+ The human eyes have corneas.
144
+ The Andes run through seven countries.
145
+ The chemical symbol for iodine is I.
146
+ The Earth�s core is very hot.
147
+ The capital of Peru is Lima.
148
+ The human skin has pores.
149
+ The Himalayas include Mount Everest.
150
+ The chemical symbol for lithium is Li.
151
+ The Earth�s orbit is elliptical.
152
+ The capital of Portugal is Lisbon.
153
+ The human skeleton includes the pelvis.
154
+ The Pyrenees are between France and Spain.
155
+ The chemical symbol for manganese is Mn.
156
+ The Earth�s oceans are interconnected.
157
+ The capital of Finland is Helsinki.
158
+ The human brain has two hemispheres.
159
+ The Alps include Mont Blanc.
160
+ The chemical symbol for nickel is Ni.
161
+ The Earth�s rotation is counterclockwise when viewed from above the North Pole.
162
+ The capital of Poland is Warsaw.
163
+ The human skeleton includes the femur.
164
+ The Andes include Aconcagua.
165
+ The chemical symbol for cobalt is Co.
166
+ The Earth�s magnetic poles can shift.
167
+ The capital of Hungary is Budapest.
168
+ The human heart pumps blood.
169
+ The Himalayas are still rising.
170
+ The chemical symbol for chromium is Cr.
171
+ The Earth�s atmosphere contains oxygen.
172
+ The capital of Denmark is Copenhagen.
173
+ The human skeleton includes the spine.
174
+ The Rockies include Mount Elbert.
175
+ The chemical symbol for platinum is Pt.
176
+ The Earth�s oceans influence climate.
177
+ The capital of Switzerland is Bern.
178
+ The human brain processes information.
179
+ The Alps include the Matterhorn.
180
+ The chemical symbol for barium is Ba.
181
+ The Earth�s crust is broken into plates.
182
+ The capital of Austria is Vienna.
183
+ The human skeleton includes the clavicle.
184
+ The Andes include Chimborazo.
185
+ The chemical symbol for radon is Rn.
186
+ The Earth�s axis points toward Polaris.
187
+ The capital of Belgium is Brussels.
188
+ The human skeleton includes the scapula.
189
+ The Himalayas include Kanchenjunga.
190
+ The chemical symbol for uranium is U.
191
+ The Earth�s oceans have tides.
192
+ The capital of Netherlands is Amsterdam.
193
+ The human skeleton includes the tibia.
194
+ The Pyrenees include Pico Aneto.
195
+ The chemical symbol for thorium is Th.
196
+ The Earth�s atmosphere scatters sunlight.
197
+ The capital of Czech Republic is Prague.
198
+ The human skeleton includes the fibula.
199
+ The Alps include the Eiger.
200
+ The chemical symbol for strontium is Sr.
201
+ The Earth�s oceans support marine life.
202
+ The capital of Ireland is Dublin.
203
+ The human skeleton includes the humerus.
204
+ The Andes include Cotopaxi.
205
+ The chemical symbol for cesium is Cs.
206
+ The Earth�s crust contains minerals.
207
+ The capital of Iceland is Reykjavik.
208
+ The human skeleton includes the radius.
209
+ The Himalayas include Lhotse.
210
+ The chemical symbol for rubidium is Rb.
211
+ The Earth�s oceans regulate temperature.
212
+ The capital of New Zealand is Wellington.
213
+ The human skeleton includes the ulna.
214
+ The Pyrenees include Vignemale.
215
+ The chemical symbol for yttrium is Y.
216
+ The Earth�s atmosphere contains carbon dioxide.
217
+ The capital of South Africa is Pretoria.
218
+ The human skeleton includes the sternum.
219
+ The Alps include Jungfrau.
220
+ The chemical symbol for zirconium is Zr.
221
+ The Earth�s oceans are home to whales.
222
+ The capital of Pakistan is Islamabad.
223
+ The human skeleton includes the patella.
224
+ The Andes include Huascar�n.
225
+ The chemical symbol for vanadium is V.
226
+ The Earth�s crust includes continents.
227
+ The capital of Philippines is Manila.
228
+ The human skeleton includes the sacrum.
229
+ The Himalayas include Makalu.
230
+ The chemical symbol for tantalum is Ta.
231
+ The Earth�s oceans are divided into basins.
232
+ The capital of Singapore is Singapore.
233
+ The human skeleton includes the coccyx.
234
+ The Pyrenees include Balaitous.
235
+ The chemical symbol for tungsten is W.
236
+ The Earth�s atmosphere contains argon.
237
+ The capital of Malaysia is Kuala Lumpur.
238
+ The human skeleton includes the carpals.
239
+ The Alps include the Dolomites.
240
+ The chemical symbol for osmium is Os.