# Extract similar word from model

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fextract-similar-word-from-model%2F9744%3E%5C
**Category:** 🤗Transformers\
**Created:** [September 6, 2021, 3:47pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fextract-similar-word-from-model%2F9744 "2021-09-06T15:47:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![svv](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@svv](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsvv)%5C
**Post date:** [September 6, 2021, 3:47pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fextract-similar-word-from-model%2F9744%2F1 "2021-09-06T15:47:50Z")

</div>

Hello! Can I extract a similar word from the model? Also, is it possible to assess the similarity between two words, not sentences, but only words? I’ll hope you help.

---

<div class="post-metadata">

**Author:** ![BramVanroy](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/bramvanroy/32/47360_2.png) [@BramVanroy](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FBramVanroy)%5C
**Post date:** [September 6, 2021, 7:54pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fextract-similar-word-from-model%2F9744%2F2 "2021-09-06T19:54:31Z")

</div>

Unless you want to compare words in a specific context, context-sensitive models are not the best way to do what you want. Better to look for [word2vec](https://stackoverflow.com/questions/21979970/how-to-use-word2vec-to-calculate-the-similarity-distance-by-giving-2-words) or similar then.
