epfml / sent2vec

General purpose unsupervised sentence representations
Other
1.19k stars 256 forks source link

Using pretrained model in embedding layer #58

Closed DumbA5h closed 4 years ago

DumbA5h commented 5 years ago

Hey, how can I use pre trained model at embedding layer in keras?

guptaprkhr commented 4 years ago

Sorry for the extremely late outreach. For anyone who has this issue in future, they can use the python wrapper to generate embeddings (sentence/word) and convert it(them) into (a) keras tensor(s).