Bayes or Spam?
Collection
Demo and models of the Bayes or Spam? project • 4 items • Updated
How to use tbitai/nn-enron1-spam with Keras:
# Available backend options are: "jax", "torch", "tensorflow".
import os
os.environ["KERAS_BACKEND"] = "jax"
import keras
model = keras.saving.load_model("hf://tbitai/nn-enron1-spam")
This model is a best-effort reconstruction of the text classifier neural network (NN) with self-trained embeddings in the Bayes or Spam? project.
It was trained on the on the Enron1 spam dataset.