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

sentence-transformers
/
distilbert-multilingual-nli-stsb-quora-ranking

Sentence Similarity
sentence-transformers
PyTorch
google-tensorflow TensorFlow
ONNX
Safetensors
OpenVINO
Transformers
distilbert
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community
4

Instructions to use sentence-transformers/distilbert-multilingual-nli-stsb-quora-ranking with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use sentence-transformers/distilbert-multilingual-nli-stsb-quora-ranking with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("sentence-transformers/distilbert-multilingual-nli-stsb-quora-ranking")
    
    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]
  • Transformers

    How to use sentence-transformers/distilbert-multilingual-nli-stsb-quora-ranking with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("sentence-transformers/distilbert-multilingual-nli-stsb-quora-ranking")
    model = AutoModel.from_pretrained("sentence-transformers/distilbert-multilingual-nli-stsb-quora-ranking")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
distilbert-multilingual-nli-stsb-quora-ranking
1.08 GB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 10 commits
Joao Gante
Add TF weights
8ae74eb about 4 years ago
  • 1_Pooling
    Add new SentenceTransformer model. about 5 years ago
  • .gitattributes
    345 Bytes
    initial commit almost 6 years ago
  • README.md
    3.81 kB
    Update README.md almost 5 years ago
  • config.json
    589 Bytes
    Add new SentenceTransformer model. about 5 years ago
  • config_sentence_transformers.json
    122 Bytes
    Add new SentenceTransformer model. about 5 years ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model. about 5 years ago
  • pytorch_model.bin
    539 MB
    xet
    Add new SentenceTransformer model. about 5 years ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. about 5 years ago
  • special_tokens_map.json
    112 Bytes
    Update special_tokens_map.json almost 6 years ago
  • tf_model.h5
    539 MB
    xet
    Add TF weights about 4 years ago
  • tokenizer.json
    1.96 MB
    Add new SentenceTransformer model. about 5 years ago
  • tokenizer_config.json
    481 Bytes
    Add new SentenceTransformer model. about 5 years ago
  • vocab.txt
    996 kB
    Update vocab.txt almost 6 years ago