Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,35 +1,24 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
3. **Interact**
|
| 26 |
-
- Paste news text in the app to check if it is Fake or True.
|
| 27 |
-
|
| 28 |
-
## Training
|
| 29 |
-
- See the notebook for data loading, preprocessing, model training, and evaluation steps.
|
| 30 |
-
|
| 31 |
-
## Model & Tokenizer
|
| 32 |
-
- The model and tokenizer are saved after training and loaded in the app for inference.
|
| 33 |
-
|
| 34 |
-
## Requirements
|
| 35 |
-
See `requirements.txt` for all required Python packages.
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Fake News Detector
|
| 3 |
+
emoji: 💻
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: blue
|
| 6 |
+
sdk: streamlit
|
| 7 |
+
sdk_version: 1.36.0
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
+
---
|
| 11 |
+
# Fake News Detector
|
| 12 |
+
|
| 13 |
+
This project is a Fake News Detection system using DistilBERT and PyTorch, with a Streamlit web app for user interaction.
|
| 14 |
+
|
| 15 |
+
## Features
|
| 16 |
+
- Data preprocessing and visualization (Jupyter Notebook)
|
| 17 |
+
- Model training using DistilBERT embeddings
|
| 18 |
+
- Streamlit app for real-time news classification
|
| 19 |
+
|
| 20 |
+
## Files
|
| 21 |
+
- `Fakke_news_detector.ipynb`: Data analysis, preprocessing, model training
|
| 22 |
+
- `app.py`: Streamlit web app for fake news detection
|
| 23 |
+
- `News_classifier.pt`: Trained PyTorch model weights
|
| 24 |
+
- `tokenizer_distilbert/`: Saved tokenizer files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|