Transformers How to use mathislucka/deberta-hallucination-eval with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="mathislucka/deberta-hallucination-eval") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("mathislucka/deberta-hallucination-eval")
model = AutoModelForSequenceClassification.from_pretrained("mathislucka/deberta-hallucination-eval")