Update README.md
Browse files
README.md
CHANGED
@@ -25,11 +25,11 @@ pipe = pipeline('text-classification', model="cardiffnlp/twitter-roberta-large-e
|
|
25 |
predictions = pipe(text)[0]
|
26 |
predictions = sorted(predictions, key=lambda d: d['score'], reverse=True)
|
27 |
predictions[:5]
|
28 |
-
>> [{'label': '😒', 'score': 0.
|
29 |
-
{'label': '
|
30 |
-
{'label': '😤', 'score': 0.
|
31 |
-
{'label': '
|
32 |
-
{'label': '😫', 'score': 0.
|
33 |
```
|
34 |
|
35 |
## Citation Information
|
|
|
25 |
predictions = pipe(text)[0]
|
26 |
predictions = sorted(predictions, key=lambda d: d['score'], reverse=True)
|
27 |
predictions[:5]
|
28 |
+
>> [{'label': '😒', 'score': 0.3771325647830963},
|
29 |
+
{'label': '😑', 'score': 0.11055194586515427},
|
30 |
+
{'label': '😤', 'score': 0.06117523834109306},
|
31 |
+
{'label': '😡', 'score': 0.0564400739967823},
|
32 |
+
{'label': '😫', 'score': 0.047937799245119095}]
|
33 |
```
|
34 |
|
35 |
## Citation Information
|