davda54 commited on
Commit
7b0d4ca
1 Parent(s): 8e101c5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -44,7 +44,7 @@ import torch
44
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
45
 
46
  tokenizer = AutoTokenizer.from_pretrained("ltg/nort5-xs")
47
- t5 = AutoModelForSeq2SeqLM.from_pretrained("ltg/nort5-xs")
48
 
49
 
50
  # MASKED LANGUAGE MODELING
 
44
  from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
45
 
46
  tokenizer = AutoTokenizer.from_pretrained("ltg/nort5-xs")
47
+ model = AutoModelForSeq2SeqLM.from_pretrained("ltg/nort5-xs", trust_remote_code=True)
48
 
49
 
50
  # MASKED LANGUAGE MODELING