Update README.md
Browse files
README.md
CHANGED
@@ -65,7 +65,7 @@ widget:
|
|
65 |
|
66 |
from transformers import T5ForConditionalGeneration, T5Tokenizer, pipeline
|
67 |
|
68 |
-
model_name="Hezam/ArabicT5-classification-generation"
|
69 |
model = T5ForConditionalGeneration.from_pretrained(model_name)
|
70 |
tokenizer = T5Tokenizer.from_pretrained(model_name)
|
71 |
generation_pipeline = pipeline("text2text-generation",model=model,tokenizer=tokenizer)
|
|
|
65 |
|
66 |
from transformers import T5ForConditionalGeneration, T5Tokenizer, pipeline
|
67 |
|
68 |
+
model_name="Hezam/ArabicT5-news-classification-generation"
|
69 |
model = T5ForConditionalGeneration.from_pretrained(model_name)
|
70 |
tokenizer = T5Tokenizer.from_pretrained(model_name)
|
71 |
generation_pipeline = pipeline("text2text-generation",model=model,tokenizer=tokenizer)
|