David commited on
Commit
df34e92
1 Parent(s): fb64ec3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -0
README.md CHANGED
@@ -31,8 +31,19 @@ classifier(
31
  candidate_labels=["cultura", "sociedad", "economia", "salud", "deportes"],
32
  hypothesis_template="Este ejemplo es {}."
33
  )
 
 
 
 
 
 
 
 
 
34
  ```
35
 
 
 
36
  ## Metrics
37
 
38
  | Model | Params | XNLI (acc) | \*MLSUM (acc) |
 
31
  candidate_labels=["cultura", "sociedad", "economia", "salud", "deportes"],
32
  hypothesis_template="Este ejemplo es {}."
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
 
49
  | Model | Params | XNLI (acc) | \*MLSUM (acc) |