Sentence Similarity
sentence-transformers
Safetensors
English
nomic_bert
code-retrieval
issue-localization
swe-bench
custom_code
text-embeddings-inference
Instructions to use ickma2311/issue-loc-embed-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ickma2311/issue-loc-embed-small with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ickma2311/issue-loc-embed-small", trust_remote_code=True) sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from ickma2311/issue-loc-embed-small: direct link, hf CLI and curl.
- Browser
- Download file 1.42 kB
-
https://huggingface.co/ickma2311/issue-loc-embed-small/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://ickma2311/issue-loc-embed-small/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/ickma2311/issue-loc-embed-small/resolve/main/tokenizer_config.json
1.42 kB
| { | |
| "added_tokens_decoder": { | |
| "0": { | |
| "content": "[PAD]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "100": { | |
| "content": "[UNK]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "101": { | |
| "content": "[CLS]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "102": { | |
| "content": "[SEP]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| }, | |
| "103": { | |
| "content": "[MASK]", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false, | |
| "special": true | |
| } | |
| }, | |
| "additional_special_tokens": [], | |
| "clean_up_tokenization_spaces": true, | |
| "cls_token": "[CLS]", | |
| "do_lower_case": true, | |
| "mask_token": "[MASK]", | |
| "max_length": 512, | |
| "model_max_length": 8192, | |
| "pad_to_multiple_of": null, | |
| "pad_token": "[PAD]", | |
| "pad_token_type_id": 0, | |
| "padding_side": "right", | |
| "sep_token": "[SEP]", | |
| "stride": 0, | |
| "strip_accents": null, | |
| "tokenize_chinese_chars": true, | |
| "tokenizer_class": "BertTokenizer", | |
| "truncation_side": "right", | |
| "truncation_strategy": "longest_first", | |
| "unk_token": "[UNK]" | |
| } | |