Sentence Similarity
sentence-transformers
PyTorch
Safetensors
Danish
bert
feature-extraction
text-embeddings-inference
Instructions to use KennethTM/MiniLM-L6-danish-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use KennethTM/MiniLM-L6-danish-encoder with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("KennethTM/MiniLM-L6-danish-encoder") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from KennethTM/MiniLM-L6-danish-encoder: direct link, hf CLI and curl.
- Browser
- Download file 725 kB
-
https://huggingface.co/KennethTM/MiniLM-L6-danish-encoder/resolve/main/tokenizer.json
- Command line
-
hf download hf://KennethTM/MiniLM-L6-danish-encoder/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/KennethTM/MiniLM-L6-danish-encoder/resolve/main/tokenizer.json
725 kB
File too large to display, you can check the raw version instead.