junaid17 commited on
Commit
83a24f2
·
verified ·
1 Parent(s): 08b7be7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +24 -35
README.md CHANGED
@@ -1,35 +1,24 @@
1
- # Fake News Detector
2
-
3
- This project is a Fake News Detection system using DistilBERT and PyTorch, with a Streamlit web app for user interaction.
4
-
5
- ## Features
6
- - Data preprocessing and visualization (Jupyter Notebook)
7
- - Model training using DistilBERT embeddings
8
- - Streamlit app for real-time news classification
9
-
10
- ## Files
11
- - `Fakke_news_detector.ipynb`: Data analysis, preprocessing, model training
12
- - `app.py`: Streamlit web app for fake news detection
13
- - `News_classifier.pt`: Trained PyTorch model weights
14
- - `tokenizer_distilbert/`: Saved tokenizer files
15
-
16
- ## Usage
17
- 1. **Install dependencies**
18
- ```powershell
19
- pip install -r requirements.txt
20
- ```
21
- 2. **Run the Streamlit app**
22
- ```powershell
23
- streamlit run app.py
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