Update README.md
Browse files
README.md
CHANGED
|
@@ -50,14 +50,14 @@ from transformers import pipeline
|
|
| 50 |
|
| 51 |
clasificador = pipeline("text-classification", model="SenaSoft/chdv-sentiment-analysis")
|
| 52 |
|
| 53 |
-
print(clasificador("Me encanta
|
| 54 |
-
# [{'label': 'positivo', 'score': 0.
|
| 55 |
|
| 56 |
-
print(clasificador("No me
|
| 57 |
-
# [{'label': 'negativo', 'score': 0.
|
| 58 |
|
| 59 |
-
print(clasificador("
|
| 60 |
-
# [{'label': 'neutral', 'score': 0.
|
| 61 |
```
|
| 62 |
|
| 63 |
### Downstream Use
|
|
|
|
| 50 |
|
| 51 |
clasificador = pipeline("text-classification", model="SenaSoft/chdv-sentiment-analysis")
|
| 52 |
|
| 53 |
+
print(clasificador("Me encanta la sopa"))
|
| 54 |
+
# [{'label': 'positivo', 'score': 0.85}]
|
| 55 |
|
| 56 |
+
print(clasificador("No me gusta nada la sopa"))
|
| 57 |
+
# [{'label': 'negativo', 'score': 0.89}]
|
| 58 |
|
| 59 |
+
print(clasificador("La sopa est谩 bien, pero prefiero otra cosa"))
|
| 60 |
+
# [{'label': 'neutral', 'score': 0.39}]
|
| 61 |
```
|
| 62 |
|
| 63 |
### Downstream Use
|