How to use froggydood/deberta-stance-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="froggydood/deberta-stance-detection")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("froggydood/deberta-stance-detection") model = AutoModelForSequenceClassification.from_pretrained("froggydood/deberta-stance-detection")
This is a stance detection model, based off of microsoft/deberta-v3-base.
microsoft/deberta-v3-base
Created by Fergus Armstrong, Computer Science BSC at the University of Birmingham. 2024
Files info