Sentence Similarity
sentence-transformers
Safetensors
Norwegian
Norwegian Bokmål
Norwegian Nynorsk
modernbert
feature-extraction
dense
loss:CachedMultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use Fremtind/mmBERT-base-norwegian with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Fremtind/mmBERT-base-norwegian with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Fremtind/mmBERT-base-norwegian") sentences = [ "Inne i igloen gjør den unge mannen seg klar for sitt overnattingsopphold.", "Folk danser i gaten.", "Den unge mannen gjør seg klar for sitt overnattingsopphold.", "Den unge mannen gjør seg klar til å dra." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!