Downloads · 30 days
10
9% of all-time downloads
amankumar28/lstm-word-generator
lstm-word-generator is a machine learning model from amankumar28. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for tf-keras.
Word-level LSTM model trained on text corpus.
Downloads · 30 days
10
9% of all-time downloads
All-time downloads
115
Public
Repo size
48.2 MB
Likes
0
Public
Click a slice to open those files.
.h519.9 MB · 71%
From the Hugging Face model README
Word-level LSTM model trained on text corpus.
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)