Downloads · 30 days
8
2% of all-time downloads
pratsing23/fakenews-detector-smollm2
fakenews-detector-smollm2 is a text generation model from pratsing23. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
An AI-powered misinformation detection model fine-tuned from SmolLM2-1.7B-Instruct on the Intel/misinformation-guard dataset.
Downloads · 30 days
8
2% of all-time downloads
All-time downloads
331
Public
Parameters
1.7B
3.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3.4 GB · 100%
From the Hugging Face model README
An AI-powered misinformation detection model fine-tuned from SmolLM2-1.7B-Instruct on the Intel/misinformation-guard dataset.
Paste any news headline, social media claim, or statement and the model will:
from transformers import pipeline
detector = pipeline("text-generation", model="pratsing23/fakenews-detector-smollm2")
messages = [
{"role": "system", "content": "You are a misinformation detection AI. Analyze the given claim and determine if it is TRUE, MOSTLY TRUE, PARTIALLY TRUE, or FALSE. Provide clear reasoning."},
{"role": "user", "content": 'Analyze this claim for misinformation: "5G towers cause COVID-19"'}
]
result = detector(messages, max_new_tokens=256, temperature=0.3)
print(result[0]["generated_text"][-1]["content"])
Output:
**Verdict: FALSE**
**Reasoning:** There is no scientific evidence linking 5G technology to COVID-19.
The World Health Organization (WHO) has confirmed that viruses cannot travel on
radio waves or mobile networks...
| Metric | Score |
|---|---|
| Overall Accuracy | 82% |
| Real News Detection | 100% (50/50) |
| Fake News Detection | 64% (32/50) |
| Errors | 0% |
| Parameter | Value |
|---|---|
| Base Model | HuggingFaceTB/SmolLM2-1.7B-Instruct |
| Dataset | Intel/misinformation-guard |
| Training Samples | 26,812 |
| Method | QLoRA (rank 32, alpha 64) |
| Epochs | 2 |
| Optimizer | AdamW 8-bit |
| Learning Rate | 2e-4 |
| Hardware | NVIDIA RTX 4090 Laptop GPU (16GB) |
| Framework | Unsloth + HuggingFace TRL |
| Label | Count |
|---|---|
| FALSE | 6,006 |
| PARTIALLY TRUE | 7,169 |
| MOSTLY TRUE | 6,706 |
| TRUE | 6,931 |
This model powers the Misinfo Checker Android app. The app lets you paste any claim and get an instant AI-powered fact check on your phone.
Apache 2.0
@misc{fakenews-detector-smollm2,
title={Fake News Detector SmolLM2},
author={pratsing23},
year={2026},
publisher={HuggingFace},
url={https://huggingface.co/pratsing23/fakenews-detector-smollm2}
}