mvasil / fashion-compatibility

Learning Type-Aware Embeddings for Fashion Compatibility
BSD 3-Clause "New" or "Revised" License
152 stars 42 forks source link

fasttext as an alternative to embed text #21

Open ghost opened 3 years ago

ghost commented 3 years ago

Thanks for providing the tip in #15, where you mentioned that we could use fasttext as an alternative for embedding text, i.e. we could get per word vectors from fasttext pre-trained model. I wonder how we should concat/process these per word vectors to represent the entire product description/name? (i.e. each word vector is 300 dimension and I'd like the final embeddings to be 300 as well...)

Thanks in advance!