Hope and Nostalgia Classifiers
Collection
This collection entails my Hope and Nostalgia Classifiers. Documentation: https://github.com/BeJa1996/political_hope_nostalgia/ โข 6 items โข Updated
How to use beja1996/deberta-v3-base_finetuned_hope with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="beja1996/deberta-v3-base_finetuned_hope") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("beja1996/deberta-v3-base_finetuned_hope")
model = AutoModelForSequenceClassification.from_pretrained("beja1996/deberta-v3-base_finetuned_hope", device_map="auto")No model card