CoolFace
Modelpublic

Ashg2099/xlm-roberta-factchecker

sourceHugging Facemitupdated 3mo agoView on Hugging Face
0likes20downloads
Model Card

XLM-RoBERTa Fact Checker (v2 — Retrieval Augmented)

Fine-tuned xlm-roberta-base for multilingual fact verification using FEVER + BGE retrieval.

What's New in v2

Previous version (claim only) achieved F1 0.655 but misfired on real-world claims. v2 feeds claim + retrieved evidence to the model, fixing the core limitation.

Results

Metricv1 (claim only)v2 (claim + evidence)
F1 macro0.6550.813
Accuracy0.630.79

Real World Performance

Claimv1v2
Earth is 3rd planet from SunFALSE ❌TRUE ✅
Eiffel Tower in BerlinTRUE ❌FALSE ✅
WW2 ended in 1945FALSE ❌TRUE ✅
Obama was 44th PresidentTRUE ✅TRUE ✅

Architecture

  • —Base model: xlm-roberta-base
  • —Retriever: BAAI/bge-base-en-v1.5
  • —Index: FAISS (56,946 FEVER evidence passages)
  • —Input format: [claim] </s></s> [retrieved evidence]
  • —Training: 1 fine-tuning epoch on claim+evidence pairs, lr=5e-6

Labels

IDLabelMeaning
0TRUEClaim supported by evidence
1FALSEClaim refuted by evidence
2UNCERTAINInsufficient evidence

Known Limitations

This model requires evidence at inference time. Use BGE retrieval (BAAI/bge-base-en-v1.5) to retrieve relevant passages before classification. Standalone claim input without evidence will underperform.

Part of Sift

This model is part of Sift — an open-source 5-agent fact-checking pipeline.

🤗 Live Demo