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

Nessrine9
/
finetuned2-snli-MiniLM-L12-v2

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:100000
loss:CosineSimilarityLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use Nessrine9/finetuned2-snli-MiniLM-L12-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Nessrine9/finetuned2-snli-MiniLM-L12-v2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Nessrine9/finetuned2-snli-MiniLM-L12-v2")
    
    sentences = [
        "Face off with a ref mid-hockey game in an arena.",
        "Nobody is playing",
        "A mustached man in a patterned shirt watches a boat painted blue and orange.",
        "Two adults makes calls on there cell phones during there lunch breaks."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
finetuned2-snli-MiniLM-L12-v2
1.52 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Nessrine9's picture
Nessrine9
initial commit
37fc549 verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago