Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
if pretrained:
EMBEDDING = Embedding(vocab_size,
embedding_dimension,
weights=[glove_embedding_matrix])
else:
EMBEDDING = Embedding(vocab_size,
embedding_dimension)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment