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

moshew
/
gist_small_ft_gooaq_v1

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

Instructions to use moshew/gist_small_ft_gooaq_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use moshew/gist_small_ft_gooaq_v1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("moshew/gist_small_ft_gooaq_v1")
    
    sentences = [
        "are paris metro tickets one way?",
        "The two big differences between the 2.4 GHz and 5 GHz frequencies are speed and range. A wireless transmission at 2.4 GHz provides internet to a larger area but sacrifices speed, while 5 GHz provides faster speeds to a smaller area.",
        "The State of Rhode Island has adopted the income shares model to determine the weekly child support order. It is based upon the philosophy that children are entitled to the standard of living based upon both parents monthly income. ... Weekly gross income of both parents before taxes and before any other deductions.",
        "Insulin NPH may be administered in 2 divided doses daily (either as equally divided doses, or as ~2/3 of the dose before the morning meal and ~1/3 of the dose before the evening meal or at bedtime)."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
gist_small_ft_gooaq_v1
134 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
moshew's picture
moshew
Add new SentenceTransformer model
dba50f6 verified over 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    17.3 kB
    Add new SentenceTransformer model over 1 year ago
  • config.json
    661 Bytes
    Add new SentenceTransformer model over 1 year ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model over 1 year ago
  • model.safetensors
    133 MB
    xet
    Add new SentenceTransformer model over 1 year ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model over 1 year ago
  • sentence_bert_config.json
    52 Bytes
    Add new SentenceTransformer model over 1 year ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model over 1 year ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model over 1 year ago
  • tokenizer_config.json
    1.27 kB
    Add new SentenceTransformer model over 1 year ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model over 1 year ago