Feature Extraction
sentence-transformers
Safetensors
bert
retrieval
devdata-search
text-embeddings-inference
Instructions to use ai4data/devdata-search-noinstruct-small-cmnrl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ai4data/devdata-search-noinstruct-small-cmnrl with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ai4data/devdata-search-noinstruct-small-cmnrl") 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
File size: 633 Bytes
c8a88a9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | {
"backend": "tokenizers",
"clean_up_tokenization_spaces": true,
"cls_token": "[CLS]",
"do_basic_tokenize": true,
"do_lower_case": true,
"is_local": true,
"local_files_only": false,
"mask_token": "[MASK]",
"max_length": 512,
"model_max_length": 512,
"never_split": null,
"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]"
}
|