Sentence Similarity
sentence-transformers
ONNX
Safetensors
Japanese
English
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
Instructions to use hotchpotch/static-embedding-japanese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use hotchpotch/static-embedding-japanese with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("hotchpotch/static-embedding-japanese") 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 0_StaticEmbedding/tokenizer.json from hotchpotch/static-embedding-japanese: direct link, hf CLI and curl.
- Browser
- Download file 2.13 MB
-
https://huggingface.co/hotchpotch/static-embedding-japanese/resolve/main/0_StaticEmbedding/tokenizer.json
- Command line
-
hf download hf://hotchpotch/static-embedding-japanese/0_StaticEmbedding/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/hotchpotch/static-embedding-japanese/resolve/main/0_StaticEmbedding/tokenizer.json
2.13 MB
File too large to display, you can check the raw version instead.