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-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use khoj-ai/timely-arctic-large with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("khoj-ai/timely-arctic-large") sentences = [ "Represent this sentence for searching relevant passages: Jan 20 Become a Real Life Superhero", "The army corps is the largest regular army formation, though in wartime two or more corps may be combined to form a field army (commanded by a general), and field armies in turn may be combined to form an army group. 03/28/31\n", "01/20 The world is a dangerous place and sometimes there's a need for superheroes. Regrettably, there's no real way to gain super strength or to fly like in the comic books.\n", " Stone is useful for both building and crafting in The Blockheads. It's easy to get stone, as explained here. 12/09\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!