petarpepi commited on
Commit
ef0c984
1 Parent(s): c0e8ede

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -1
README.md CHANGED
@@ -30,7 +30,9 @@ from setfit import SetFitModel
30
  # Download from Hub and run inference
31
  model = SetFitModel.from_pretrained("petarpepi/all-MiniLM-L12-v2-sentiment140-twitter")
32
  # Run inference
33
- preds = model(["i loved the spiderman movie!", "pineapple on pizza is the worst 🤮"])
 
 
34
  ```
35
 
36
  ## BibTeX entry and citation info
 
30
  # Download from Hub and run inference
31
  model = SetFitModel.from_pretrained("petarpepi/all-MiniLM-L12-v2-sentiment140-twitter")
32
  # Run inference
33
+ preds = model(["that pizza was the coolest", "pineapple on pizza is the worst 🤮"])
34
+ # class 1 = positive
35
+ # class 0 = negative
36
  ```
37
 
38
  ## BibTeX entry and citation info