Instructions to use alex2awesome/stance-detection-classification-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alex2awesome/stance-detection-classification-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="alex2awesome/stance-detection-classification-model")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("alex2awesome/stance-detection-classification-model") model = AutoModelForSequenceClassification.from_pretrained("alex2awesome/stance-detection-classification-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
60398e6 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ba6bf3d96c0b2fd56f62ad1d416e278cba045ea62ebb78f9ec46a8e19ece8939
size 4728
|