luisespinosa commited on
Commit
a65a409
•
1 Parent(s): f5665b3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -45,7 +45,7 @@ labels = [row[1] for row in csvreader if len(row) > 1]
45
  model = AutoModelForSequenceClassification.from_pretrained(MODEL)
46
  model.save_pretrained(MODEL)
47
 
48
- text = "Good night 😊"
49
  text = preprocess(text)
50
  encoded_input = tokenizer(text, return_tensors='pt')
51
  output = model(**encoded_input)
@@ -74,8 +74,8 @@ for i in range(scores.shape[0]):
74
  Output:
75
 
76
  ```
77
- 1) joy 0.9061
78
- 2) optimism 0.0407
79
- 3) sadness 0.0406
80
- 4) anger 0.0126
81
  ```
 
45
  model = AutoModelForSequenceClassification.from_pretrained(MODEL)
46
  model.save_pretrained(MODEL)
47
 
48
+ text = "Celebrating my promotion 😎"
49
  text = preprocess(text)
50
  encoded_input = tokenizer(text, return_tensors='pt')
51
  output = model(**encoded_input)
 
74
  Output:
75
 
76
  ```
77
+ 1) joy 0.9382
78
+ 2) optimism 0.0362
79
+ 3) anger 0.0145
80
+ 4) sadness 0.0112
81
  ```