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

chenbowen184
/
instacart-two-tower-sbert

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:1246220
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use chenbowen184/instacart-two-tower-sbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use chenbowen184/instacart-two-tower-sbert with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("chenbowen184/instacart-two-tower-sbert")
    
    sentences = [
        "[+1d w0h15] Butter, Garlic, Applewood Smoked Center Cut Uncured Bacon, Whole Milk, Pie Pans, Large, Mint Chip Ice Cream, Rocky Road Ice Cream; [+6d w6h15] Paste, Red Curry, Coconut Milk, Italian Kitchen Red Wine Vinegar, Jack Habanero Cheese, Garlic, Sourdough Baguette, Fresh Ginger Root, Dry Roasted Lightly Salted Peanuts, Limes, 100% Pure Sesame Seed Oil, Organic Shiitake Mushrooms, Unsalted Chicken Cooking Stock, Broccoli Crown. Next: +13d w6h10",
        "Product: Banana. Aisle: fresh fruits. Department: produce.",
        "Product: Whole Chicken. Aisle: poultry counter. Department: meat seafood.",
        "Product: Organic Strawberries. Aisle: fresh fruits. Department: produce."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
instacart-two-tower-sbert
91.7 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
chenbowen184's picture
chenbowen184
Upload folder using huggingface_hub
fa21a4d verified 3 months ago
  • 1_Pooling
    Upload folder using huggingface_hub 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    121 kB
    Upload folder using huggingface_hub 3 months ago
  • config.json
    744 Bytes
    Upload folder using huggingface_hub 3 months ago
  • config_sentence_transformers.json
    277 Bytes
    Upload folder using huggingface_hub 3 months ago
  • model.safetensors
    90.9 MB
    xet
    Upload folder using huggingface_hub 3 months ago
  • modules.json
    349 Bytes
    Upload folder using huggingface_hub 3 months ago
  • sentence_bert_config.json
    57 Bytes
    Upload folder using huggingface_hub 3 months ago
  • tokenizer.json
    712 kB
    Upload folder using huggingface_hub 3 months ago
  • tokenizer_config.json
    374 Bytes
    Upload folder using huggingface_hub 3 months ago