Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:55736
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use khoj-ai/timely-arctic-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use khoj-ai/timely-arctic-small with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("khoj-ai/timely-arctic-small") sentences = [ "Represent this sentence for searching relevant passages: 07/16/64 are sour things good for you?", "07/06/2006 ['Select the cells that you want to copy For more information, see Select cells, ranges, rows, or columns on a worksheet. ... ', 'Click Home > Find & Select, and pick Go To Special.', 'Click Visible cells only > OK.', 'Click Copy (or press Ctrl+C).', 'Select the upper-left cell of the paste area and click Paste (or press Ctrl+V).']\n", "jul 16 1964 Yet, this doesn't mean that sour foods are always unsafe to eat. In fact, many sour foods are quite nutritious and rich in plant compounds called antioxidants, which help protect your cells from damage ( 7 , 8 ).\n", "\"05/19/2044 Chicken tikka masala differs from the recipe, chicken tikka , because of the various spices (the meaning of \"\"masala\"\"). Despite the origin being debated between a British-take on Indian food and an actual Indian dish, it has become very popular in the U.K. and in other countries.\"\n" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!