Sentence Similarity
sentence-transformers
Safetensors
Russian
bert
embeddings
mteb
text-embeddings-inference
Instructions to use IIIaHTu/komaru_embeddings with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use IIIaHTu/komaru_embeddings with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("IIIaHTu/komaru_embeddings") sentences = [ "Это счастливый человек", "Это счастливая собака", "Это очень счастливый человек", "Сегодня солнечный день" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from IIIaHTu/komaru_embeddings: direct link, hf CLI and curl.
- Browser
- Download file 431 Bytes
-
https://huggingface.co/IIIaHTu/komaru_embeddings/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://IIIaHTu/komaru_embeddings/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/IIIaHTu/komaru_embeddings/resolve/main/tokenizer_config.json
431 Bytes
| { | |
| "backend": "tokenizers", | |
| "clean_up_tokenization_spaces": true, | |
| "cls_token": "[CLS]", | |
| "do_basic_tokenize": true, | |
| "do_lower_case": false, | |
| "is_local": true, | |
| "mask_token": "[MASK]", | |
| "model_max_length": 512, | |
| "never_split": null, | |
| "pad_token": "[PAD]", | |
| "sep_token": "[SEP]", | |
| "strip_accents": null, | |
| "tokenize_chinese_chars": true, | |
| "tokenizer_class": "BertTokenizer", | |
| "unk_token": "[UNK]" | |
| } | |