Skip to content

Instantly share code, notes, and snippets.

View AnupKumarGupta's full-sized avatar
💭
Contemplating

Anup Kumar Gupta AnupKumarGupta

💭
Contemplating
View GitHub Profile
@AnupKumarGupta
AnupKumarGupta / pretrained_word2vec_lstm_gen.py
Created November 7, 2019 17:59 — forked from maxim5/pretrained_word2vec_lstm_gen.py
Text generator based on LSTM model with pre-trained Word2Vec embeddings in Keras
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
__author__ = 'maxim'
import numpy as np
import gensim
import string