shahp7575 commited on
Commit
9996b2d
1 Parent(s): d5d78f9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -34,8 +34,8 @@ model = AutoModelWithLMHead.from_pretrained("shahp7575/gpt2-horoscopes")
34
  from transformers import pipeline
35
  clf = pipeline('sentiment-analysis', model=model, tokenizer=tokenizer)
36
 
37
- clf('¡Qué película tan fantástica! ¡Me alegro de haberlo visto!')
38
- >>> [{'label': '5', 'score': 0.9156607389450073}]
39
 
40
  clf("La historia y el casting fueron geniales.")
41
  >>> [{'label': '4', 'score': 0.6666394472122192}]
34
  from transformers import pipeline
35
  clf = pipeline('sentiment-analysis', model=model, tokenizer=tokenizer)
36
 
37
+ clf('Esta película es una joya. Todo fue perfecto: historia, casting, dirección. Me encantó el clímax.')
38
+ >>> [{'label': '5', 'score': 0.9658033847808838}]
39
 
40
  clf("La historia y el casting fueron geniales.")
41
  >>> [{'label': '4', 'score': 0.6666394472122192}]