Relative Content

Tag Archive for pythonsentence-transformers

Identify Similar words in the same relative space in a sentence transformer model

I am trying to find similar words to a list of words I have embedded with slight modifications. The goal in the end is to try and build a search tool that can generate a list of single words from an embedding. Reading through the literature though suggests that sentence transformers are not capable of performing this task as they are descriptive in nature and not generative.

How to run sentence-transformers/all-MiniLM-L6-v2

I need to create embeddings and do cosine similarity calculations using sentence-transformers/all-MiniLM-L6-v2 in an ‘offline’ environment (huggingface is blacklisted in this environment since it is a community hub). I am having trouble finding info on how to run the model in offline mode. Any ideas?