Fixed another formatting error in README.md, text didnt fix into box on HuggingFace page
Browse files
README.md
CHANGED
@@ -20,7 +20,8 @@ Natural Language Understanding](https://arxiv.org/pdf/2009.05387.pdf).
|
|
20 |
```python
|
21 |
from transformers import pipeline
|
22 |
classifier = pipeline("text-classification",
|
23 |
-
model='tyqiangz/indobert-lite-large-p2-smsa',
|
|
|
24 |
text = "Penyakit koronavirus 2019"
|
25 |
prediction = classifier(text)
|
26 |
prediction
|
|
|
20 |
```python
|
21 |
from transformers import pipeline
|
22 |
classifier = pipeline("text-classification",
|
23 |
+
model='tyqiangz/indobert-lite-large-p2-smsa',
|
24 |
+
return_all_scores=True)
|
25 |
text = "Penyakit koronavirus 2019"
|
26 |
prediction = classifier(text)
|
27 |
prediction
|