Views
No views yet
argmax == 0 -> supported.| dataset | macro-F1 |
|---|---|
| RAGTruth (in-domain) | 0.80 (hallucination P/R 0.71 / 0.79) |
| CogniBench (transfer) | 0.66 |
| MEMERAG-FR (transfer) | 0.58 |
1from transformers import AutoModelForSequenceClassification, AutoTokenizer
2tok = AutoTokenizer.from_pretrained("cs-552-2026-Clanker-Scientists/safeguard-deberta-ragtruth-v1")
3mdl = AutoModelForSequenceClassification.from_pretrained("cs-552-2026-Clanker-Scientists/safeguard-deberta-ragtruth-v1")
4# supported iff mdl(**tok(context, answer, return_tensors="pt")).logits.argmax(-1) == 0