Sentence Similarity
sentence-transformers
Safetensors
Norwegian
bert
feature-extraction
dense
Generated from Trainer
dataset_size:527098
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use NbAiLab/nb-sbert-v2-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use NbAiLab/nb-sbert-v2-base with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("NbAiLab/nb-sbert-v2-base") sentences = [ "The man talked to a girl over the internet camera.", "A group of elderly people pose around a dining table.", "A teenager talks to a girl over a webcam.", "There is no 'still' that is not relative to some other object." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 123fe8a38f34daea67ad81ddb5f361bb2439ff43f098e727c69dd3dd7e3f46c2
- Size of remote file:
- 316 kB
- SHA256:
- 33928a8edce46a6ed8ca00cef99e6cacccabda8edab1013f7060fe190ba21ee2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.