Instructions to use eevvgg/StanceBERTa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use eevvgg/StanceBERTa with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="eevvgg/StanceBERTa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("eevvgg/StanceBERTa") model = AutoModelForSequenceClassification.from_pretrained("eevvgg/StanceBERTa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
up size data
Browse files
README.md
CHANGED
|
@@ -63,7 +63,7 @@ result = cls_task(sequence)
|
|
| 63 |
|
| 64 |
```
|
| 65 |
|
| 66 |
-
Model suited for classification of stance in short text. Fine-tuned on a balanced corpus of size
|
| 67 |
*Suitable for fine-tuning on hate/offensive language detection.
|
| 68 |
|
| 69 |
## Model Sources
|
|
|
|
| 63 |
|
| 64 |
```
|
| 65 |
|
| 66 |
+
Model suited for classification of stance in short text. Fine-tuned on a balanced corpus of size 5.6k, partially semi-annotated.
|
| 67 |
*Suitable for fine-tuning on hate/offensive language detection.
|
| 68 |
|
| 69 |
## Model Sources
|