Preparing Inputs for ELMo

Learn to prepare the inputs for ELMo embeddings.

We'll cover the following

Here, we’ll define a function that will convert a given list of strings to the format ELMo expects the inputs to be in. Remember that we set the signature of ELMo to be tokens. An example input to the signature tokens would look as follows.

Get hands-on with 1400+ tech skills courses.