Update README.md
Browse files
README.md
CHANGED
@@ -39,7 +39,7 @@ The mT5-multilingual-XLSum model was fine-tuned on the UA-News dataset to genera
|
|
39 |
```python
|
40 |
from transformers import pipeline
|
41 |
|
42 |
-
summarizer = pipeline("summarization", model="yelyah/mT5-XLSUM-ua-news
|
43 |
article = "Your news article text here."
|
44 |
summary = summarizer(article)
|
45 |
print(summary)
|
|
|
39 |
```python
|
40 |
from transformers import pipeline
|
41 |
|
42 |
+
summarizer = pipeline("summarization", model="yelyah/mT5-XLSUM-ua-news")
|
43 |
article = "Your news article text here."
|
44 |
summary = summarizer(article)
|
45 |
print(summary)
|