Update README.md
This commit is contained in:
parent
d80dae4ef8
commit
b8a60461af
|
@ -24,7 +24,6 @@ model_path = "cardiffnlp/twitter-xlm-roberta-base-sentiment"
|
||||||
sentiment_task = pipeline("sentiment-analysis", model=model_path, tokenizer=model_path)
|
sentiment_task = pipeline("sentiment-analysis", model=model_path, tokenizer=model_path)
|
||||||
sentiment_task("T'estimo!")
|
sentiment_task("T'estimo!")
|
||||||
```
|
```
|
||||||
Output:
|
|
||||||
```
|
```
|
||||||
[{'label': 'Positive', 'score': 0.6600581407546997}]
|
[{'label': 'Positive', 'score': 0.6600581407546997}]
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue