Wojx commited on
Commit
b9ca129
1 Parent(s): 81049e6

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -80,8 +80,8 @@ As in the original plT5 implementation, the training dataset was tokenized into
80
  ```python
81
  from transformers import T5Tokenizer, T5ForConditionalGeneration
82
 
83
- vlt5 = T5ForConditionalGeneration.from_pretrained("Voicelab/t5-base-keywords")
84
- tokenizer = T5Tokenizer.from_pretrained("Voicelab/t5-base-keywords")
85
 
86
  task_prefix = "Keywords: "
87
  inputs = ["Christina Katrakis, who spoke to the BBC from Vorokhta in western Ukraine, relays the account of one family, who say Russian soldiers shot at their vehicles while they were leaving their village near Chernobyl in northern Ukraine. She says the cars had white flags and signs saying they were carrying children.",
 
80
  ```python
81
  from transformers import T5Tokenizer, T5ForConditionalGeneration
82
 
83
+ vlt5 = T5ForConditionalGeneration.from_pretrained("Voicelab/vlt5-base-keywords")
84
+ tokenizer = T5Tokenizer.from_pretrained("Voicelab/vlt5-base-keywords")
85
 
86
  task_prefix = "Keywords: "
87
  inputs = ["Christina Katrakis, who spoke to the BBC from Vorokhta in western Ukraine, relays the account of one family, who say Russian soldiers shot at their vehicles while they were leaving their village near Chernobyl in northern Ukraine. She says the cars had white flags and signs saying they were carrying children.",