Update README.md
Browse files
README.md
CHANGED
@@ -23,6 +23,8 @@ tokenizer = AutoTokenizer.from_pretrained(CHKPT)
|
|
23 |
from transformers import pipeline
|
24 |
classifier = pipeline('sentiment-analysis', model=model, tokenizer=tokenizer)
|
25 |
|
|
|
|
|
26 |
classifier('Es una obra mestra. Brillante.')
|
27 |
# [{'label': '5', 'score': 0.9498381614685059}]
|
28 |
|
|
|
23 |
from transformers import pipeline
|
24 |
classifier = pipeline('sentiment-analysis', model=model, tokenizer=tokenizer)
|
25 |
|
26 |
+
# It ranks your comments between 1 and 5 (stars)
|
27 |
+
|
28 |
classifier('Es una obra mestra. Brillante.')
|
29 |
# [{'label': '5', 'score': 0.9498381614685059}]
|
30 |
|