Say you create your own custom word embeddings in the process of some arbitrary task, say text classification. How do you get a dictionary like structure of {word: vector} back from Keras?
embeddings_layer.get_weights() gives you the raw embeddings...but it's unclear which word corresponds to what vector element.