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

GShrivathsan
/
all-MiniLM-L6-v2

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

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

  • Libraries
  • sentence-transformers

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

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("GShrivathsan/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

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • 1_Pooling
    Upload config.json over 2 years ago
  • .gitattributes
    1.18 kB
    Upload 15 files over 2 years ago
  • README.md
    10.6 kB
    Upload 15 files over 2 years ago
  • config.json
    612 Bytes
    Upload 15 files over 2 years ago
  • config_sentence_transformers.json
    116 Bytes
    Upload 15 files over 2 years ago
  • data_config.json
    39.3 kB
    Upload 15 files over 2 years ago
  • modules.json
    349 Bytes
    Upload 15 files over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    90.9 MB
    xet
    Upload 15 files over 2 years ago
  • rust_model.ot
    90.9 MB
    xet
    Upload 15 files over 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Upload 15 files over 2 years ago
  • special_tokens_map.json
    112 Bytes
    Upload 15 files over 2 years ago
  • tf_model.h5
    91 MB
    xet
    Upload 15 files over 2 years ago
  • tokenizer.json
    466 kB
    Upload 15 files over 2 years ago
  • tokenizer_config.json
    350 Bytes
    Upload 15 files over 2 years ago
  • train_script.py
    13.2 kB
    Upload 15 files over 2 years ago
  • vocab.txt
    232 kB
    Upload 15 files over 2 years ago