Update README.md

This commit is contained in:
Cardiff NLP 2021-04-17 06:30:28 +00:00 committed by huggingface-web
parent d80dae4ef8
commit b8a60461af
1 changed files with 0 additions and 1 deletions

View File

@ -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("T'estimo!")
```
Output:
```
[{'label': 'Positive', 'score': 0.6600581407546997}]
```