Downloads · 30 days
13
7% of all-time downloads
Arko007/fact-check1-v1
fact-check1-v1 is a text classification model from Arko007. Use it when you need a label for a piece of text. The card lists the license as mit.
This is a state-of-the-art fake news detection model based on DeBERTa-v3-large, achieving 99.98% accuracy on validation data. The model was fine-tuned on a carefully curated and deduplicated dataset combining multiple…
Downloads · 30 days
13
7% of all-time downloads
All-time downloads
181
Public
Parameters
435M
873 MB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors870 MB · 99%
From the Hugging Face model README
This is a state-of-the-art fake news detection model based on DeBERTa-v3-large, achieving 99.98% accuracy on validation data. The model was fine-tuned on a carefully curated and deduplicated dataset combining multiple high-quality fake news datasets, totaling 51,319 samples after preprocessing.
Total Samples: 51,319
mrisdal/fake-newsjainpooja/fake-news-detectionclmentbisaillon/fake-and-real-news-datasetfrom transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
# Load model and tokenizer
model_name = "Arko007/fact-check1-v1"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForSequenceClassification.from_pretrained(model_name)
# Example prediction function
def predict_fake_news(text):
inputs = tokenizer(text, return_tensors="pt", truncation=True, max_length=512)
with torch.no_grad():
outputs = model(**inputs)
probabilities = torch.nn.functional.softmax(outputs.logits, dim=-1)
prediction = torch.argmax(probabilities, dim=-1).item()
labels = {0: "REAL", 1: "FAKE"}
confidence = probabilities[0][prediction].item()
return {
"prediction": labels[prediction],
"confidence": confidence,
"probabilities": {
"REAL": probabilities[0][0].item(),
"FAKE": probabilities[0][1].item()
}
}
# Test the model
text = "Breaking: Scientists discover new planet in our solar system!"
result = predict_fake_news(text)
print(f"Prediction: {result['prediction']} ({result['confidence']:.2%} confidence)")
This model achieves research-grade performance on fake news detection, with near-perfect accuracy across all metrics. The high precision and recall indicate excellent balance between catching fake news while avoiding false positives on real news.
@misc{fake-news-deberta-2025,
author = {Arko007},
title = {Elite Fake News Detection with DeBERTa-v3-Large},
year = {2025},
publisher = {Hugging Face},
url = {[https://huggingface.co/](https://huggingface.co/)Arko007/fact-check1-v1}
}
Built with ❤️ using A100 80GB + DeBERTa-v3-Large