Vijayendra commited on
Commit
c99f954
·
verified ·
1 Parent(s): 97d282e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +7 -2
README.md CHANGED
@@ -26,8 +26,13 @@ tokenizer = T5Tokenizer.from_pretrained("Vijayendra/T5-Base-Sum")
26
 
27
  # Example of using the model for summarization
28
  article = """
29
- Videos that say approved vaccines are dangerous and cause autism, cancer or infertility are among those that will be taken down, the company said. The policy includes the termination of accounts of anti-vaccine influencers. Tech giants have been criticised for not doing more to counter false health information on their sites. In July, US PresidentJoe Biden said social media platforms were largely responsible for people's scepticism in getting vaccinated by spreading misinformation, and appealed for them to address the issue. YouTube, which is owned by Google, said 130,000 videos were removed from its platform since last year, when it implemented a ban on content spreading misinformation
30
- about Covid vaccines. In a blog post, the company said it had seen false claims about Covid jabs "spill over into misinformation about vaccines in general". The new policy covers long-approved vaccines, such as those against measles or hepatitis B. "We're expanding our medical misinformation policies on YouTube with new guidelines on currently administered vaccines that are approved and confirmed to be safe and effective by local health authorities and the WHO," the post said, referring to the World Health Organization.
 
 
 
 
 
31
  """
32
  inputs = tokenizer.encode("summarize: " + article, return_tensors="pt", max_length=512, truncation=True)
33
  summary_ids = model.generate(inputs, max_length=150, min_length=50, length_penalty=2.0, num_beams=4, early_stopping=True)
 
26
 
27
  # Example of using the model for summarization
28
  article = """
29
+ Videos that say approved vaccines are dangerous and cause autism, cancer or infertility are among those that will be taken down, the company
30
+ said. The policy includes the termination of accounts of anti-vaccine influencers. Tech giants have been criticised for not doing more to
31
+ counter false health information on their sites. In July, US PresidentJoe Biden said social media platforms were largely responsible for
32
+ people's scepticism in getting vaccinated by spreading misinformation, and appealed for them to address the issue. YouTube, which is owned
33
+ by Google, said 130,000 videos were removed from its platform since last year, when it implemented a ban on content spreading misinformation
34
+ about Covid vaccines. In a blog post, the company said it had seen false claims about Covid jabs "spill over into misinformation about
35
+ vaccines in general". The new policy covers long-approved vaccines, such as those against measles or hepatitis B."We're expanding our medical misinformation policies on YouTube with new guidelines on currently administered vaccines that are approved and confirmed to be safe and effective by local health authorities and the WHO," the post said, referring to the World Health Organization.
36
  """
37
  inputs = tokenizer.encode("summarize: " + article, return_tensors="pt", max_length=512, truncation=True)
38
  summary_ids = model.generate(inputs, max_length=150, min_length=50, length_penalty=2.0, num_beams=4, early_stopping=True)