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