utrobinmv commited on
Commit
dfd3adb
·
1 Parent(s): 6033de2

change readme

Browse files
Files changed (1) hide show
  1. README.md +42 -9
README.md CHANGED
@@ -128,7 +128,7 @@ generated_tokens = model.generate(**input_ids.to(device), generation_config=gene
128
 
129
  result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
130
  print(result)
131
- #YouTube is cracking down on videos that suggest Covid-19 vaccines are dangerous and harmful.
132
 
133
  # text brief summary generate
134
  prefix = 'summary brief: '
@@ -139,7 +139,18 @@ generated_tokens = model.generate(**input_ids.to(device), generation_config=gene
139
 
140
  result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
141
  print(result)
142
- #YouTube is cracking down on misleading information about Covid vaccines.
 
 
 
 
 
 
 
 
 
 
 
143
 
144
  # text big summary generate
145
  prefix = 'summary big: '
@@ -150,7 +161,7 @@ generated_tokens = model.generate(**input_ids.to(device), generation_config=gene
150
 
151
  result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
152
  print(result)
153
- #YouTube has said it will remove more than 1,500 videos of Covid vaccines from its platform in a bid to tackle the spread of misinformation about the jabs.
154
  ```
155
 
156
 
@@ -187,7 +198,7 @@ generated_tokens = model.generate(**input_ids.to(device), generation_config=gene
187
 
188
  result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
189
  print(result)
190
- #In Beijing Winter Olympics Games, Chinese contestant Grulove凌 won the silver card. Celebrate.
191
 
192
  # text brief summary generate
193
  prefix = 'summary brief to en: '
@@ -198,7 +209,18 @@ generated_tokens = model.generate(**input_ids.to(device), generation_config=gene
198
 
199
  result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
200
  print(result)
201
- #In Beijing Winter Olympics Games, Chinese contestant Gruelean won the silver card.
 
 
 
 
 
 
 
 
 
 
 
202
 
203
  # text big summary generate
204
  prefix = 'summary big to en: '
@@ -209,7 +231,7 @@ generated_tokens = model.generate(**input_ids.to(device), generation_config=gene
209
 
210
  result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
211
  print(result)
212
- #In Beijing's Winter Olympics Games, the 12-year-old has won the silver card in a free-skating lady hillwalking contest. The first jump, Chinese contestant, 69.90.
213
  ```
214
 
215
 
@@ -246,7 +268,7 @@ generated_tokens = model.generate(**input_ids.to(device), generation_config=gene
246
 
247
  result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
248
  print(result)
249
- #Французская Эйфелева башня, ставшая самой высокой в мире, достигла высоты 300 метров (1063 фута).
250
 
251
  # text brief summary generate
252
  prefix = 'summary brief: '
@@ -257,7 +279,18 @@ generated_tokens = model.generate(**input_ids.to(device), generation_config=gene
257
 
258
  result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
259
  print(result)
260
- #Французская Эйфелева башня стала самой высокой в мире.
 
 
 
 
 
 
 
 
 
 
 
261
 
262
  # text big summary generate
263
  prefix = 'summary big: '
@@ -268,7 +301,7 @@ generated_tokens = model.generate(**input_ids.to(device), generation_config=gene
268
 
269
  result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
270
  print(result)
271
- #Французская Эйфелева башня, построенная в 1957 году, достигла высоты 300 метров (1063 фута) с любой стороны. Это самый высокий сооружения в мире после виадука Мийо.
272
  ```
273
 
274
 
 
128
 
129
  result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
130
  print(result)
131
+ #YouTube to remove videos claiming approved COVID-19 vaccines cause harm, including autism, cancer, and infertility. It will terminate accounts of anti-vaccine influencers and expand its medical misinformation policies.
132
 
133
  # text brief summary generate
134
  prefix = 'summary brief: '
 
139
 
140
  result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
141
  print(result)
142
+ #YouTube has announced a crackdown on misinformation about Covid-19 vaccines.
143
+
144
+ # generate a 4-word summary of the text
145
+ prefix = 'summary brief 4 words: '
146
+ src_text = prefix + text
147
+ input_ids = tokenizer(src_text, return_tensors="pt")
148
+
149
+ generated_tokens = model.generate(**input_ids.to(device), generation_config=generation_config)
150
+
151
+ result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
152
+ print(result)
153
+ #YouTube removes vaccine misinformation.
154
 
155
  # text big summary generate
156
  prefix = 'summary big: '
 
161
 
162
  result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
163
  print(result)
164
+ #YouTube, owned by Google, is removing videos claiming approved vaccines are dangerous and cause autism, cancer, or infertility. The company will terminate accounts of anti-vaccine influencers and expand its medical misinformation policies. This follows criticism of tech giants for not doing more to combat false health information on their sites. In July, US President Joe Biden called for social media platforms to address the issue of vaccine skepticism. Since implementing a ban on Covid vaccine content in 2021, 13 million videos have been removed. New policies cover long-approved vaccinations, such as those against measles or hepatitis B.
165
  ```
166
 
167
 
 
198
 
199
  result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
200
  print(result)
201
+ #In the women's freestyle skiing final at the Beijing Winter Olympics, Chinese skater Gu Ailing won silver. She scored 69.90 in the first jump, ranked 3rd among 12 competitors. Despite a fall, she managed to land smoothly, earning 86.23 points.
202
 
203
  # text brief summary generate
204
  prefix = 'summary brief to en: '
 
209
 
210
  result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
211
  print(result)
212
+ #"Chinese Skier Wins Silver in Beijing"
213
+
214
+ # generate a 4-word summary of the text
215
+ prefix = 'summary brief to en 4 words: '
216
+ src_text = prefix + text
217
+ input_ids = tokenizer(src_text, return_tensors="pt")
218
+
219
+ generated_tokens = model.generate(**input_ids.to(device), generation_config=generation_config)
220
+
221
+ result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
222
+ print(result)
223
+ #"Chinese Skier Wins Silver"
224
 
225
  # text big summary generate
226
  prefix = 'summary big to en: '
 
231
 
232
  result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
233
  print(result)
234
+ #In the women's freestyle ski slope obstacle technique final at the Beijing Winter Olympics, Chinese skater Gu Ailing won silver. She scored 69.90 in her first jump, placing third among the 12 competitors. Despite a fall in the second round, she managed to land smoothly, earning 86.23 points. The final was held in three rounds.
235
  ```
236
 
237
 
 
268
 
269
  result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
270
  print(result)
271
+ #Эйфелева башня - самое высокое здание в Париже, высотой 324 метра. Ее основание квадратное, размером 125 метров с каждой стороны. Во время строительства она превзошла монумент Вашингтона, став самым высоким искусственным сооружением в мире.
272
 
273
  # text brief summary generate
274
  prefix = 'summary brief: '
 
279
 
280
  result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
281
  print(result)
282
+ #Эйфелева башня - самое высокое здание в Париже, высотой 324 метра.
283
+
284
+ # generate a 4-word summary of the text
285
+ prefix = 'summary brief 4 words: '
286
+ src_text = prefix + text
287
+ input_ids = tokenizer(src_text, return_tensors="pt")
288
+
289
+ generated_tokens = model.generate(**input_ids.to(device), generation_config=generation_config)
290
+
291
+ result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
292
+ print(result)
293
+ #Эйфелева башня - самая высокая.
294
 
295
  # text big summary generate
296
  prefix = 'summary big: '
 
301
 
302
  result = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
303
  print(result)
304
+ #Эйфелева башня - самое высокое здание в Париже, высотой 324 метра. Ее основание квадратное, размером 125 метров с каждой стороны. Во время строительства она превзошла монумент Вашингтона, став самым высоким искусственным сооружением в мире. Из-за добавления вещательной антенны на вершине башни она сейчас выше здания Крайслер на 5,2 метра (17 футов). За исключением передатчиков, башня является второй самой высокой отдельно стоящей структурой во Франции после виадука Мийо.
305
  ```
306
 
307