Downloads · 30 days
0
Afridi22/Disinformation-Fake-News-Detection
Disinformation-Fake-News-Detection is a text classification model from Afridi22. Use it when you need a label for a piece of text. The card lists the license as mit.
Fake News Detection Dashboard. The dashboard allows users to detect disinformation using six standard benchmark datasets.The front end, developed with Streamlit, provides an interactive interface for uploading files i…
Downloads · 30 days
0
Access
Public
Updated Jan 8, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.md9.7 KB · 87%
From the Hugging Face model README
Fake News Detection Dashboard. The dashboard allows users to detect disinformation using six standard benchmark datasets.The front end, developed with Streamlit, provides an interactive interface for uploading files in CSV, PDF, or DOCX formats, and visualizes results using bar charts and word clouds. Its modular architecture separates data ingestion, preprocessing, model inference, and visualization, ensuring scalability and maintainability. The dashboard has been applied to multiple datasets, including EUvsDisinfo, EUvsISOT, EUvsIGF, FA-KES, George McIntire, and ISOT, enabling large-scale predictions, cross-dataset generalizability assessment, propagation analysis, and exploration of textual patterns contributing to disinformation.
Inference uses cached pretrained models for efficiency. For ML pipelines, text is vectorised using stored TF-IDF unigram and bigram features before PA predic- tion. For DL pipelines, text is tokenised, padded, and passed through BiLSTM networks to generate probabilistic outputs, normalised to consistent binary labels (Fake/Disinformation or True). Results are displayed in real time with dynamic visualisations, including keyword-based explanations via TF-IDF for ML models and word clouds for DL models, ensuring transparency and interpretability within a unified modular framework.
The dashboard allows users to detect disinformation and fake news in English-language news articles. Users can input raw text, CSV, PDF, or DOCX files. Predictions are generated in real time using ML/DL pipelines and visualised through keyword explanations (TF-IDF) and word clouds.
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->[More Information Needed]
Can be integrated into larger news monitoring systems or fact-checking pipelines.
Pretrained ML/DL/Transformer models can be fine-tuned for other datasets or domains.
[More Information Needed]
Not suitable for languages other than English without retraining.
Should not be used to make legal, financial, or medical decisions without human oversight.
May produce incorrect predictions on highly domain-specific or adversarial content.
[More Information Needed]
[More Information Needed]
Users should review model outputs critically.
Combine ML/DL predictions with human fact-checking for high-stakes decisions.
Consider retraining or finetuning if applying to new domains or languages.
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
Run each file DLtrain_models.py and MLtrain_models.py with python3 name of file.
[More Information Needed]
Running Both File Available on Github repository \href{https://github.com/afridisadam1-alt/Dashboard-Fake-News-Detection/blob/main/DLtrain_models.py}{DLtrain-models.py} and \href{https://github.com/afridisadam1-alt/Dashboard-Fake-News-Detection/blob/main/MLtrain_models.py}{MLtrain-models.py}. After training the models for both ML and DL it will generate the pretrained models with vectorizers.
Datasets: EUvsISOT, EUvsIGF, ISOT, FA-KES, George McIntire
Content: English-language news articles labeled as Fake/Disinformation or True
Preprocessing: Lowercasing, punctuation removal, tokenization; TF-IDF features extracted for ML models; sequences padded and tokenized for BiLSTM/Transformer models
[More Information Needed]
ML: TF-IDF unigram + bigram vectorization
DL: Tokenization, padding, batching
[More Information Needed]
ML: Standard scikit-learn implementations (Passive-Aggressive)
DL: BiLSTM, LSTM; batch size 32–64, learning rate 1e-3, early stopping
[More Information Needed]
Held-out splits from all six benchmark datasets
<!-- This should link to a Dataset Card if possible. -->[More Information Needed]
[More Information Needed]
Accuracy, Precision, Recall, F1-score
Confusion matrices for interpretability
[More Information Needed]
Passive-Aggressive and BiLSTM models achieved F1-scores > 0.90 on most datasets [More Information Needed]
The system reliably detects fake news across multiple datasets, providing both interpretable visual outputs and real-time predictions.
Keyword-based explanations using TF-IDF (ML models)
Word clouds for DL models
Confusion matrices available for multi-class evaluations
LDA Topics and Themes based
[More Information Needed]
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
CPU for ML pipelines
[More Information Needed]
NVIDIA GPUs (V100/3090) for DL/Transformer models
CPU for ML pipelines [More Information Needed]
Python 3.10
PyTorch, TensorFlow, scikit-learn, Transformers, Streamlit, NumPy, Pandas [More Information Needed]
https://zenodo.org/records/18158666
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->BibTeX:
[More Information Needed]
APA:
[More Information Needed]
[More Information Needed]
Dashboard supports CSV, PDF, DOCX file input
Visual analytics: label distributions, word clouds, keyword explanations [More Information Needed]
Sadam Hussain
[More Information Needed]
[email protected] [More Information Needed]