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
      • 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-medium

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

Instructions to use khoj-ai/timely-arctic-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use khoj-ai/timely-arctic-medium with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("khoj-ai/timely-arctic-medium")
    
    sentences = [
        "Represent this sentence for searching relevant passages: 2014 Summer can i cash a check if my account is frozen?",
        "Jun 18 1927 Check Gift Card Balance. With your 16-digit card number and PIN, you can check the balance in a Walmart store, call 1-888-537-5503, or check your gift card balance online.\n",
        "13/07/2014 Frozen Account If your checking account has been frozen, which can happen if a levy has been placed on the account, you might still be able to cash a check. ... This means a check can be deposited into the account without being frozen, allowing you to access the cash.\n",
        "Guatemalan law allows firearm possession on shall-issue basis as a constitutional right. With approximately 12 civilian firearms per 100 people, Guatemala is the 70th most armed country in the world. Constitution Guatemalan constitution protects right to own guns for home-defense: Law Current law regarding firearm possession was passed in 2009. Permitted types of firearms Law allows civilians to own following types of firearms: Semi automatic pistols and revolvers of any calibre; Shotguns with barrel of length up to 24 inches; Mechanical and semi-automatic rifles. Firearm registration Simple possession requires registration of gun. Application for register must include: Certification proving ownership and legal acquisition of the firearm; Certification of lack of a criminal and police record in force (6 months of validity); Identity document; 4x4 photography on matte paper; Receipt of payment of all necessary fees; Presentation of firearm. Guatemalans are allowed possess any number of firearms. Carrying firearms Rules regarding carrying firearms are more strict with additional permit required and minimum age being 25 years. Only about 10% of legal guns can be carried in public places. Firearm possession Currently there are 547,000 registered firearms in Guatemala (or 3 per 100 people). 60,658 people have license to carry them. See also  Overview of gun laws by nation References  Guatemala Law of Guatemala\n"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
timely-arctic-medium
437 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 8 commits
MythicalCow1's picture
MythicalCow1
Update README.md
6020665 verified almost 2 years ago
  • 1_Pooling
    pooling folder add almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    24.8 kB
    Update README.md almost 2 years ago
  • config.json
    675 Bytes
    TimelyMedium Files almost 2 years ago
  • config_sentence_transformers.json
    277 Bytes
    TimelyMedium Files almost 2 years ago
  • model.safetensors
    436 MB
    xet
    TimelyMedium Files almost 2 years ago
  • modules.json
    349 Bytes
    Upload 10 files almost 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Upload 10 files almost 2 years ago
  • special_tokens_map.json
    695 Bytes
    Upload 10 files almost 2 years ago
  • tokenizer.json
    712 kB
    Upload 10 files almost 2 years ago
  • tokenizer_config.json
    1.38 kB
    Upload 10 files almost 2 years ago
  • vocab.txt
    232 kB
    Upload 10 files almost 2 years ago