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 files62 unmodified lines6364656667686962 unmodified lines```Model suited for classification of stance in short text. Fine-tuned on a balanced corpus of size 6.2k, partially semi-annotated.*Suitable for fine-tuning on hate/offensive language detection.## Model Sources62 unmodified lines6364656667686962 unmodified lines```Model suited for classification of stance in short text. Fine-tuned on a balanced corpus of size 5.6k, partially semi-annotated.*Suitable for fine-tuning on hate/offensive language detection.## Model Sources
README.md+1-1