#235 · Primary category: NLP Tools & Text Processing

Deep-Semantic-Similarity-Model

deep-learning information-retrieval keras natural-language-processing nlp

My Keras implementation of the Deep Semantic Similarity Model (DSSM)/Convolutional Latent Semantic Model (CLSM) described here: http://research.microsoft.com/pubs/226585/cikm2014_cdssm_final.pdf.

Project last updated:06/05/17

GitHub Stars

521

Forks

179

Contributors

2

License

MIT

Why we included this project

The Deep Semantic Similarity Model was Microsoft Research's early answer to matching queries and documents by embedding both in a shared vector space, and this repo provides a readable Keras version of both DSSM and its convolutional variant, CLSM. It stays close to the original 2014 paper, so you can trace the hashing and pooling steps end to end, which makes it a solid study piece for students and engineers curious about how neural retrieval worked before pretrained transformers became the default. The author notes that search datasets are usually proprietary, so you will need to bring your own query and document pairs to train it. For teams working on matching tasks such as duplicate detection or candidate retrieval, the DSSM is still a compact, self-contained baseline worth reading and adapting, even if you plan to replace it with a modern model.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category