Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:560
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use srikarvar/fine_tuned_model_10 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use srikarvar/fine_tuned_model_10 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("srikarvar/fine_tuned_model_10") sentences = [ "The `num_steps` parameter is employed to indicate the quantity of steps when preparing the recipe.", "The `num_steps` parameter is used to specify the number of steps when preparing the recipe.", "The `rename_fields` function creates a new form with fields renamed to provided names.", "The main difference between a ProductList and an InventoryList is that a ProductList provides random access to the items, while an InventoryList updates progressively as you browse the list." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download special_tokens_map.json from srikarvar/fine_tuned_model_10: direct link, hf CLI and curl.
- Browser
- Download file 965 Bytes
-
https://huggingface.co/srikarvar/fine_tuned_model_10/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://srikarvar/fine_tuned_model_10/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/srikarvar/fine_tuned_model_10/resolve/main/special_tokens_map.json
965 Bytes
| { | |
| "bos_token": { | |
| "content": "<s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "cls_token": { | |
| "content": "<s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "eos_token": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "mask_token": { | |
| "content": "<mask>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "pad_token": { | |
| "content": "<pad>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "sep_token": { | |
| "content": "</s>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| }, | |
| "unk_token": { | |
| "content": "<unk>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |