Fake News Detection

A simple fake news classifier using TensorFlow/Keras with GloVe embeddings.

Files

  • main.py - Load model and make predictions
  • model.safetensors - Trained model weights
  • tokenizer.json - Text tokenizer
  • config.json - Model configuration

Usage

  1. Make sure you have Python 3 and the required packages installed:

    pip install numpy safetensors tensorflow
    
  2. Place main.py, model.safetensors, tokenizer.json, and config.json in the same directory.

  3. Run the script:

    python main.py
    

    The 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