sentence transformers/nli mpnet base v2 This is a sentence transformers model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence Transformers) Using this model becomes easy when you have sentence transformers installed: Then you can use the model like this: 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 right pooling operation on top of the contextualized word embeddings. Usage (Text Embeddings Inference (TEI)) Text Embeddings Inference (TEI) is a blazing fast inference solution for text embedding models. CPU: NVIDIA GPU: Send a request to /v1/embeddings to generate embeddings via the OpenAI Embeddings API: Or check the Text Embeddings Inference API specification instead. Full Model Architecture Citing & Authors This model was trained by sentence transformers. If you find this model helpful, feel free to cite our publication Sentence BERT: Sentence Embeddings using Siamese BERT Networks:
We use cookies for essential functionality and analytics. You can accept or reject analytics cookies.Cookie policy