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

philipp-zettl
/
MiniLM-amazon_massive_intent-similarity-small

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

Instructions to use philipp-zettl/MiniLM-amazon_massive_intent-similarity-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use philipp-zettl/MiniLM-amazon_massive_intent-similarity-small with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("philipp-zettl/MiniLM-amazon_massive_intent-similarity-small")
    
    sentences = [
        "Dame más opciones para enviar mi paquete",
        "general query",
        "product query",
        "product query"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
MiniLM-amazon_massive_intent-similarity-small
503 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
philipp-zettl's picture
philipp-zettl
Add new SentenceTransformer model.
642811c verified over 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model. over 1 year ago
  • .gitattributes
    1.62 kB
    Add new SentenceTransformer model. over 1 year ago
  • README.md
    17.6 kB
    Add new SentenceTransformer model. over 1 year ago
  • config.json
    701 Bytes
    Add new SentenceTransformer model. over 1 year ago
  • config_sentence_transformers.json
    201 Bytes
    Add new SentenceTransformer model. over 1 year ago
  • model.safetensors
    471 MB
    xet
    Add new SentenceTransformer model. over 1 year ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model. over 1 year ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. over 1 year ago
  • special_tokens_map.json
    964 Bytes
    Add new SentenceTransformer model. over 1 year ago
  • tokenizer.json
    17.1 MB
    xet
    Add new SentenceTransformer model. over 1 year ago
  • tokenizer_config.json
    1.42 kB
    Add new SentenceTransformer model. over 1 year ago
  • unigram.json
    14.8 MB
    xet
    Add new SentenceTransformer model. over 1 year ago