Paste any news headline, social media claim, or statement and the model will:
Classify it as TRUE, MOSTLY TRUE, PARTIALLY TRUE, or FALSE
Explain its reasoning with evidence-based analysis
How to use
python
1from transformers import pipeline
23detector = pipeline("text-generation", model="pratsing23/fakenews-detector-smollm2")45messages =[6{"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."},7{"role":"user","content":'Analyze this claim for misinformation: "5G towers cause COVID-19"'}8]910result = detector(messages, max_new_tokens=256, temperature=0.3)11print(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...
Performance
Metric
Score
Overall Accuracy
82%
Real News Detection
100% (50/50)
Fake News Detection
64% (32/50)
Errors
0%
Strengths
Perfect at confirming factual/real news (100%)
Catches obvious misinformation (conspiracy theories, health hoaxes)
Provides detailed reasoning for every verdict
Limitations
Sometimes lenient with popular myths that have a "grain of truth"
May label some false claims as "PARTIALLY TRUE" rather than "FALSE"
Training Details
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
Dataset Distribution
Label
Count
FALSE
6,006
PARTIALLY TRUE
7,169
MOSTLY TRUE
6,706
TRUE
6,931
Use Cases
Social media fact-checking - Verify viral claims
News verification - Check headlines before sharing
Educational tool - Learn to identify misinformation
Content moderation - Flag potentially false content
Android App
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.