Triplet loss on text embeddings with keras
问题 I'd start saying i'm quite new to Keras and machine learning in general. I'm trying to build an "experimental" model consisting of two parts: An "encoder" which takes a string (containing a long series of attributes, i'm using the DBLP-ACM dataset), builds an embedding of the words of this string (word2vec), and encodes them in a vector (bidirectional LSTM). A trainable model which takes 3 vectors in input (result of model 1) and uses the triplet loss as loss function (i already defined it,