ai-forever commited on
Commit
5b4be94
1 Parent(s): 7dcfe38

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -31,7 +31,7 @@ Total training time was around 35 days on 160 V100 GPUs + 5 days on 80 A100.
31
  import torch
32
  from transformers import GPT2Tokenizer, T5ForConditionalGeneration
33
  tokenizer = GPT2Tokenizer.from_pretrained('ai-forever/FRED-T5-1.7B',eos_token='</s>')
34
- model = T5ForConditionalGeneration.from_pretrained(('ai-forever/FRED-T5-1.7B')
35
  device='cuda'
36
  model.to(device)
37
 
 
31
  import torch
32
  from transformers import GPT2Tokenizer, T5ForConditionalGeneration
33
  tokenizer = GPT2Tokenizer.from_pretrained('ai-forever/FRED-T5-1.7B',eos_token='</s>')
34
+ model = T5ForConditionalGeneration.from_pretrained('ai-forever/FRED-T5-1.7B')
35
  device='cuda'
36
  model.to(device)
37