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

ashercn97
/
neobert-multi-nli

Sentence Similarity
sentence-transformers
Safetensors
neobert
feature-extraction
Generated from Trainer
dataset_size:130899
loss:MultipleNegativesRankingLoss
custom_code
Model card Files Files and versions
xet
Community

Instructions to use ashercn97/neobert-multi-nli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use ashercn97/neobert-multi-nli with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("ashercn97/neobert-multi-nli", trust_remote_code=True)
    
    sentences = [
        "Also, Lou Reed is tough.",
        "Lou Reed is tough.",
        "The snow was so deep in the field that if you fell, you wouldn't feel it.",
        "Some organizations don't like change."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
neobert-multi-nli
888 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
ashercn97's picture
ashercn97
Add new SentenceTransformer model
727b04f verified about 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    13.9 kB
    Add new SentenceTransformer model about 1 year ago
  • config.json
    1.76 kB
    Add new SentenceTransformer model about 1 year ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model about 1 year ago
  • model.safetensors
    887 MB
    xet
    Add new SentenceTransformer model about 1 year ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model about 1 year ago
  • sentence_bert_config.json
    54 Bytes
    Add new SentenceTransformer model about 1 year ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model about 1 year ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model about 1 year ago
  • tokenizer_config.json
    1.31 kB
    Add new SentenceTransformer model about 1 year ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model about 1 year ago