Next Word Predict Official
Collection
Official model for next word gen for recommend system โข 1 item โข Updated
How to use longdnk20/OFFICIAL_LSTM with Keras:
# !pip install -U keras tensorflow huggingface_hub
# Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here;
# "jax" and "torch" also work for computation once TensorFlow is installed.
import os
os.environ["KERAS_BACKEND"] = "tensorflow"
import keras
model = keras.saving.load_model("hf://longdnk20/OFFICIAL_LSTM")
Base model
longdnk20/PRETRAIN_LSTM_BASE