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
/
Finetune2-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/Finetune2-MiniLM-L12-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

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

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Nessrine9/Finetune2-MiniLM-L12-v2")
    
    sentences = [
        "A woman wearing a yellow shirt is holding a plate which contains a piece of cake.",
        "The woman in the yellow shirt might have cut the cake and placed it on the plate.",
        "Male bicyclists compete in the Tour de France.",
        "The man is walking"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
Finetune2-MiniLM-L12-v2
134 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Nessrine9's picture
Nessrine9
Finetuned model on SNLI
0604176 verified almost 2 years ago
  • 1_Pooling
    Finetuned model on SNLI almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    16.9 kB
    Finetuned model on SNLI almost 2 years ago
  • config.json
    680 Bytes
    Finetuned model on SNLI almost 2 years ago
  • config_sentence_transformers.json
    201 Bytes
    Finetuned model on SNLI almost 2 years ago
  • model.safetensors
    133 MB
    xet
    Finetuned model on SNLI almost 2 years ago
  • modules.json
    349 Bytes
    Finetuned model on SNLI almost 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Finetuned model on SNLI almost 2 years ago
  • special_tokens_map.json
    695 Bytes
    Finetuned model on SNLI almost 2 years ago
  • tokenizer.json
    712 kB
    Finetuned model on SNLI almost 2 years ago
  • tokenizer_config.json
    1.43 kB
    Finetuned model on SNLI almost 2 years ago
  • vocab.txt
    232 kB
    Finetuned model on SNLI almost 2 years ago