Text Classification
Transformers
PyTorch
English
roberta
text
stance
Eval Results (legacy)
text-embeddings-inference
Instructions to use eevvgg/Stance-Tw with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use eevvgg/Stance-Tw with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="eevvgg/Stance-Tw")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("eevvgg/Stance-Tw") model = AutoModelForSequenceClassification.from_pretrained("eevvgg/Stance-Tw", device_map="auto") - Notebooks
- Google Colab
- Kaggle
add colab file to model card
Browse files
README.md
CHANGED
|
@@ -30,6 +30,9 @@ probably proofread and complete it, then remove this comment. -->
|
|
| 30 |
|
| 31 |
This model is a fine-tuned version of [j-hartmann/sentiment-roberta-large-english-3-classes](https://huggingface.co/j-hartmann/sentiment-roberta-large-english-3-classes) to predict 3 categories.
|
| 32 |
|
|
|
|
|
|
|
|
|
|
| 33 |
```
|
| 34 |
# Model usage
|
| 35 |
from transformers import pipeline
|
|
|
|
| 30 |
|
| 31 |
This model is a fine-tuned version of [j-hartmann/sentiment-roberta-large-english-3-classes](https://huggingface.co/j-hartmann/sentiment-roberta-large-english-3-classes) to predict 3 categories.
|
| 32 |
|
| 33 |
+
|
| 34 |
+
- training procedure available in [Colab notebook](https://colab.research.google.com/drive/12DsO5dNaQI3kFO7ohOHZn4EWNewFy2jm?usp=sharing)
|
| 35 |
+
|
| 36 |
```
|
| 37 |
# Model usage
|
| 38 |
from transformers import pipeline
|