Fake News Detection
A simple fake news classifier using TensorFlow/Keras with GloVe embeddings.
Files
main.py- Load model and make predictionsmodel.safetensors- Trained model weightstokenizer.json- Text tokenizerconfig.json- Model configuration
Usage
Make sure you have Python 3 and the required packages installed:
pip install numpy safetensors tensorflowPlace
main.py,model.safetensors,tokenizer.json, andconfig.jsonin the same directory.Run the script:
python main.pyThe script will load the model weights and tokenizer, and print a placeholder prediction.
Note: This is a simplified demo. For full prediction functionality, you would need the complete model architecture and input handling.
- Downloads last month
- 9
Inference Providers
NEW
This model isn't deployed by any Inference Provider.
๐
Ask for provider support