Save Embeddings
I could be missing something, but with the latest updates to Deep Learning, which includes the Embedding Layer, I want to be able to extract and save the embeddings. Other operators ask for a pre-trained model, so I was hoping that we could construct our own, save the embedding, and use elsewhere.
0
Best Answer
-
jacobcybulski Member, University Professor Posts: 391
Unicorn
You can save the entire model, or just the weights and/or biases. But this is not exactly what you are looking at. I need to test it out, however, I think that if you want to deal only with an embedding layer, you can create and save a word2vec model using a separate extension, and then load it into your embedding layer.0
Answers