Update README.md
Browse files
README.md
CHANGED
@@ -37,10 +37,10 @@ pipe = pipeline('text-classification', model="cardiffnlp/twitter-roberta-large-e
|
|
37 |
predictions = pipe(text)[0]
|
38 |
predictions = [x for x in predictions if x['score'] > 0.5]
|
39 |
predictions
|
40 |
-
>> [{'label': 'anger', 'score': 0.
|
41 |
-
{'label': 'disgust', 'score': 0.
|
42 |
-
{'label': 'joy', 'score': 0.
|
43 |
-
{'label': 'optimism', 'score': 0.
|
44 |
```
|
45 |
|
46 |
## Citation Information
|
|
|
37 |
predictions = pipe(text)[0]
|
38 |
predictions = [x for x in predictions if x['score'] > 0.5]
|
39 |
predictions
|
40 |
+
>> [{'label': 'anger', 'score': 0.927680253982544},
|
41 |
+
{'label': 'disgust', 'score': 0.895420491695404},
|
42 |
+
{'label': 'joy', 'score': 0.9239692687988281},
|
43 |
+
{'label': 'optimism', 'score': 0.6795405745506287}]
|
44 |
```
|
45 |
|
46 |
## Citation Information
|