Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
datadreamer
datadreamer-0.46.0
Synthetic
feature-extraction
text-embeddings-inference
Run this model with HF Jobs
Run fineinstructions/instruction_template_retrieval_embedding on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/fineinstructions/instruction_template_retrieval_embedding. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/fineinstructions/instruction_template_retrieval_embedding on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use fineinstructions/instruction_template_retrieval_embedding with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use fineinstructions/instruction_template_retrieval_embedding with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("fineinstructions/instruction_template_retrieval_embedding") 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
Add new SentenceTransformer model.
Browse filesFiles changed (5)
20 unmodified lines2122232425262720 unmodified lines"pad_token_id": 1,"position_embedding_type": "absolute","torch_dtype": "bfloat16","transformers_version": "4.48.2","type_vocab_size": 1,"use_cache": true,"vocab_size": 25000220 unmodified lines2122232425262720 unmodified lines"pad_token_id": 1,"position_embedding_type": "absolute","torch_dtype": "bfloat16","transformers_version": "4.49.0","type_vocab_size": 1,"use_cache": true,"vocab_size": 250002
12345678{"__version__": {"sentence_transformers": "3.4.1","transformers": "4.48.2","pytorch": "2.5.1+cu124"},"prompts": {},"default_prompt_name": null,12345678{"__version__": {"sentence_transformers": "3.4.1","transformers": "4.49.0","pytorch": "2.6.0+cu124"},"prompts": {},"default_prompt_name": null,
123version https://git-lfs.github.com/spec/v1oid sha256:d05b3ed55beb5ccd008ea83e55ee414a6a414af27988f7a13e1513485a43111fsize 1135554736123version https://git-lfs.github.com/spec/v1oid sha256:dc00aaa9925853e3df745e5f1e1d38463816c0b36fc97c4ddf55a97d64f46adesize 1135554736
26 unmodified lines2728293031323334353637383926 unmodified lines"rstrip": false,"single_word": false},"pad_token": {"content": "<pad>","lstrip": false,"normalized": false,"rstrip": false,"single_word": false},"sep_token": {"content": "</s>","lstrip": false,26 unmodified lines2728293031323326 unmodified lines"rstrip": false,"single_word": false},"pad_token": "<pad>","sep_token": {"content": "</s>","lstrip": false,
46 unmodified lines4748495051525346 unmodified lines"eos_token": "</s>","extra_special_tokens": {},"mask_token": "<mask>","model_max_length": 8194,"pad_token": "<pad>","sep_token": "</s>","sp_model_kwargs": {},46 unmodified lines4748495051525346 unmodified lines"eos_token": "</s>","extra_special_tokens": {},"mask_token": "<mask>","model_max_length": 8192,"pad_token": "<pad>","sep_token": "</s>","sp_model_kwargs": {},
config.json+1-1
config_sentence_transformers.json+2-2
model.safetensors+1-1
special_tokens_map.json+1-7
tokenizer_config.json+1-1