David commited on
Commit ·
678714d
1
Parent(s): e8806d6
Update README.md
Browse files
README.md
CHANGED
|
@@ -33,16 +33,16 @@ classifier(
|
|
| 33 |
)
|
| 34 |
"""Output
|
| 35 |
{'sequence': 'El autor se perfila, a los 50 años de su muerte, como uno de los grandes de su siglo',
|
| 36 |
-
'labels': ['sociedad', 'cultura', '
|
| 37 |
-
'scores': [0.
|
| 38 |
-
0.
|
| 39 |
-
0.
|
| 40 |
-
0.
|
| 41 |
-
0.
|
| 42 |
"""
|
| 43 |
```
|
| 44 |
|
| 45 |
-
The `hypothesis_template` parameter is important and should be in Spanish. **In the widget on the right, this parameter is set to its default value:
|
| 46 |
|
| 47 |
## Metrics
|
| 48 |
|
|
|
|
| 33 |
)
|
| 34 |
"""Output
|
| 35 |
{'sequence': 'El autor se perfila, a los 50 años de su muerte, como uno de los grandes de su siglo',
|
| 36 |
+
'labels': ['sociedad', 'cultura', 'economia', 'salud', 'deportes'],
|
| 37 |
+
'scores': [0.6450043320655823,
|
| 38 |
+
0.16710571944713593,
|
| 39 |
+
0.08507631719112396,
|
| 40 |
+
0.0759836807847023,
|
| 41 |
+
0.026829993352293968]}
|
| 42 |
"""
|
| 43 |
```
|
| 44 |
|
| 45 |
+
The `hypothesis_template` parameter is important and should be in Spanish. **In the widget on the right, this parameter is set to its default value: "This example is {}.", so different results are expected.**
|
| 46 |
|
| 47 |
## Metrics
|
| 48 |
|