Instructions to use amankumar28/lstm-word-generator with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use amankumar28/lstm-word-generator with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy), and from_pretrained_keras was removed in huggingface_hub 1.0. # See https://github.com/keras-team/tf-keras for more details. # !pip install "huggingface_hub<1.0" tf_keras from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("amankumar28/lstm-word-generator") - Notebooks
- Google Colab
- Kaggle
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
LSTM Word Generator
Model Description
Word-level LSTM model trained on text corpus.
Architecture
- Type: LSTM
- Vocabulary Size: 2051
- Max Sequence Length: 334
Training
- Training Date: 2026-06-19
Usage
import tensorflow as tf
import pickle
# Load model
model = tf.keras.models.load_model('lstm_word_generator.h5')
# Load tokenizer
with open('tokenizer.pkl', 'rb') as f:
tokenizer = pickle.load(f)
- Downloads last month
- 10
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support