antypasd commited on
Commit
5c458fd
·
verified ·
1 Parent(s): b1d5008

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -4
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.8713036775588989},
41
- {'label': 'disgust', 'score': 0.7899409532546997},
42
- {'label': 'joy', 'score': 0.9664386510848999},
43
- {'label': 'optimism', 'score': 0.6123248934745789}]
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