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