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

Pyjay
/
sentence-transformers-multilingual-snli-v2-500k

Sentence Similarity
sentence-transformers
PyTorch
Transformers
xlm-roberta
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community
2

Instructions to use Pyjay/sentence-transformers-multilingual-snli-v2-500k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Pyjay/sentence-transformers-multilingual-snli-v2-500k with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Pyjay/sentence-transformers-multilingual-snli-v2-500k")
    
    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 Pyjay/sentence-transformers-multilingual-snli-v2-500k with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("Pyjay/sentence-transformers-multilingual-snli-v2-500k")
    model = AutoModel.from_pretrained("Pyjay/sentence-transformers-multilingual-snli-v2-500k")
  • Notebooks
  • Google Colab
  • Kaggle
sentence-transformers-multilingual-snli-v2-500k
1.13 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Pyjay's picture
Pyjay
Add new SentenceTransformer model.
db1e345 almost 5 years ago
  • 1_Pooling
    Add new SentenceTransformer model. almost 5 years ago
  • .gitattributes
    842 Bytes
    Add new SentenceTransformer model. almost 5 years ago
  • README.md
    4.46 kB
    Add new SentenceTransformer model. almost 5 years ago
  • config.json
    754 Bytes
    Add new SentenceTransformer model. almost 5 years ago
  • config_sentence_transformers.json
    128 Bytes
    Add new SentenceTransformer model. almost 5 years ago
  • modules.json
    242 Bytes
    Add new SentenceTransformer model. almost 5 years ago
  • pytorch_model.bin
    1.11 GB
    xet
    Add new SentenceTransformer model. almost 5 years ago
  • sentence_bert_config.json
    56 Bytes
    Add new SentenceTransformer model. almost 5 years ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Add new SentenceTransformer model. almost 5 years ago
  • special_tokens_map.json
    150 Bytes
    Add new SentenceTransformer model. almost 5 years ago
  • tokenizer.json
    9.08 MB
    xet
    Add new SentenceTransformer model. almost 5 years ago
  • tokenizer_config.json
    572 Bytes
    Add new SentenceTransformer model. almost 5 years ago