multi qa MiniLM L6 cos v1 This is a sentence transformers model: It maps sentences & paragraphs to a 384 dimensional dense vector space and was designed for semantic search . It has been trained on 215M (question, answer) pairs from diverse sources. For an introduction to semantic search, have a look at: SBERT.net Semantic Search Usage (Sentence Transformers) Using this model becomes easy when you have sentence transformers installed: Then you can use the model like this: PyTorch Usage (HuggingFace Transformers) Without sentence transformers, you can use the model like this: First, you pass your input through the transformer model, then you have to apply the correct pooling operation on top of the contextualized word embeddings. TensorFlow Usage (HuggingFace Transformers) Similarly to the PyTorch example above, to use the model with TensorFlow you pass your input through the transformer model, then you have to apply the correct pooling operation on top of the contextualized word embeddings. Technical Details In the following some technical details how this model must be used: Setting Value : : Dimensions 384 Produces normalized embeddings Yes Pooling Method Mean pooling Suitable sc…
We use cookies for essential functionality and analytics. You can accept or reject analytics cookies.Cookie policy