Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
elmo example
# just a random sentence
x = ["Roasted ants are a popular snack in Columbia"]
# Extract ELMo features
embeddings = elmo(x, signature="default", as_dict=True)["elmo"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment