Instructions to use finiteautomata/beto-headlines-sentiment-analysis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use finiteautomata/beto-headlines-sentiment-analysis with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="finiteautomata/beto-headlines-sentiment-analysis")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("finiteautomata/beto-headlines-sentiment-analysis") model = AutoModelForSequenceClassification.from_pretrained("finiteautomata/beto-headlines-sentiment-analysis") - Notebooks
- Google Colab
- Kaggle
Commit ·
e73e018
1
Parent(s): 28e5824
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,7 +11,7 @@ Input is as follows
|
|
| 11 |
|
| 12 |
`Headline [SEP] Target`
|
| 13 |
|
| 14 |
-
where headline is the news title and target an
|
| 15 |
|
| 16 |
Try
|
| 17 |
|
|
|
|
| 11 |
|
| 12 |
`Headline [SEP] Target`
|
| 13 |
|
| 14 |
+
where headline is the news title and target is an entity present in the headline.
|
| 15 |
|
| 16 |
Try
|
| 17 |
|