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

AsaKal
/
all-MiniLM-L6-v2

Sentence Similarity
sentence-transformers
PyTorch
Safetensors
English
bert
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use AsaKal/all-MiniLM-L6-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use AsaKal/all-MiniLM-L6-v2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("AsaKal/all-MiniLM-L6-v2")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
all-MiniLM-L6-v2
183 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
AsaKal's picture
AsaKal
Upload folder using huggingface_hub
7981860 verified 28 days ago
  • 1_Pooling
    Upload folder using huggingface_hub 28 days ago
  • .DS_Store
    6.15 kB
    Upload folder using huggingface_hub 28 days ago
  • .gitattributes
    1.52 kB
    initial commit 28 days ago
  • README.md
    10.6 kB
    Upload folder using huggingface_hub 28 days ago
  • config.json
    656 Bytes
    Upload folder using huggingface_hub 28 days ago
  • config_sentence_transformers.json
    203 Bytes
    Upload folder using huggingface_hub 28 days ago
  • model.safetensors
    90.9 MB
    xet
    Upload folder using huggingface_hub 28 days ago
  • modules.json
    349 Bytes
    Upload folder using huggingface_hub 28 days ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage"

    What is a pickle import?

    90.9 MB
    xet
    Upload folder using huggingface_hub 28 days ago
  • sentence_bert_config.json
    53 Bytes
    Upload folder using huggingface_hub 28 days ago
  • special_tokens_map.json
    695 Bytes
    Upload folder using huggingface_hub 28 days ago
  • tokenizer.json
    712 kB
    Upload folder using huggingface_hub 28 days ago
  • tokenizer_config.json
    1.46 kB
    Upload folder using huggingface_hub 28 days ago
  • vocab.txt
    232 kB
    Upload folder using huggingface_hub 28 days ago