Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

khoj-ai
/
timely-arctic-small

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:55736
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

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
timely-arctic-small
134 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
MythicalCow1's picture
MythicalCow1
Update README.md
5c80c93 verified almost 2 years ago
  • 1_Pooling
    model files about 2 years ago
  • .gitattributes
    1.52 kB
    initial commit about 2 years ago
  • README.md
    25 kB
    Update README.md almost 2 years ago
  • config.json
    640 Bytes
    TimelySmall Files almost 2 years ago
  • config_sentence_transformers.json
    277 Bytes
    TimelySmall Files almost 2 years ago
  • model.safetensors
    133 MB
    xet
    TimelySmall Files almost 2 years ago
  • modules.json
    349 Bytes
    model files about 2 years ago
  • sentence_bert_config.json
    53 Bytes
    model files about 2 years ago
  • special_tokens_map.json
    695 Bytes
    model files about 2 years ago
  • tokenizer.json
    712 kB
    model files about 2 years ago
  • tokenizer_config.json
    1.43 kB
    model files about 2 years ago
  • vocab.txt
    232 kB
    model files about 2 years ago