NB SBERT BASE [!NOTE] As of April 13th 2026, there are now new versions of this model, with improved performance and increased context length. NbAiLab/nb sbert v2 base NbAiLab/nb sbert v2 large NB SBERT BASE is a SentenceTransformers model trained on a machine translated version of the MNLI dataset, starting from nb bert base. The model maps sentences & paragraphs to a 768 dimensional dense vector space. This vector can be used for tasks like clustering and semantic search. Below we give some examples on how to use the model. The easiest way is to simply measure the cosine distance between two sentences. Sentences that are close to each other in meaning, will have a small cosine distance and a similarity close to 1. The model is trained in such a way that similar sentences in different languages should also be close to each other. Ideally, an English Norwegian sentence pair should have high similarity. Embeddings and Sentence Similarity (Sentence Transformers) As seen above, using the library sentence transformers makes the use of these models quite convenient: Then you can use the model like this: Embeddings and Sentence Similarity (HuggingFace Transformers) Without sentence trans…
We use cookies for essential functionality and analytics. You can accept or reject analytics cookies.Cookie policy