PardisSzah
commited on
Commit
•
8e5f06c
1
Parent(s):
cc57a3c
Update README.md
Browse files
README.md
CHANGED
@@ -15,8 +15,8 @@ This model is fine-tuned to generate informal text from formal text based on the
|
|
15 |
|
16 |
from transformers import AutoModelForSeq2SeqLM, MT5Tokenizer
|
17 |
|
18 |
-
model = T5ForConditionalGeneration.from_pretrained(PardisSzah/PersianEase)
|
19 |
-
tokenizer = AutoTokenizer.from_pretrained(PardisSzah/PersianEase)
|
20 |
|
21 |
from transformers import (T5ForConditionalGeneration, AutoTokenizer, pipeline)
|
22 |
import torch
|
|
|
15 |
|
16 |
from transformers import AutoModelForSeq2SeqLM, MT5Tokenizer
|
17 |
|
18 |
+
model = T5ForConditionalGeneration.from_pretrained('PardisSzah/PersianEase')
|
19 |
+
tokenizer = AutoTokenizer.from_pretrained('PardisSzah/PersianEase')
|
20 |
|
21 |
from transformers import (T5ForConditionalGeneration, AutoTokenizer, pipeline)
|
22 |
import torch
|