Instructions to use rwillh11/mDeBERTa-group-appeals-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rwillh11/mDeBERTa-group-appeals-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="rwillh11/mDeBERTa-group-appeals-detection")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("rwillh11/mDeBERTa-group-appeals-detection") model = AutoModelForSequenceClassification.from_pretrained("rwillh11/mDeBERTa-group-appeals-detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
This is a mDeBERTa-v3 model which has been fine tuned to detect whether the sentence mentions a social group, as defined by Dolinsky et al (2023) and based on UK and Irish manifestos hand coded by the those authors.
The model performs well, with a test set balanced accuracy of 0.964.
- Downloads last month
- -