Bayes or Spam?
Collection
Demo and models of the Bayes or Spam? project • 4 items • Updated
How to use tbitai/gisty-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/gisty-enron1-spam")
This model is a best-effort reconstruction of the LLM-based text classifier in the Bayes or Spam? project.
It is intended to be used as a layer sequence over avsolatorio/GIST-large-Embedding-v0: the embedding's output is a 1024-dimensional float array, which can be used as the input of this model.
The model was trained on the on the Enron1 spam dataset.