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

Clarkoer
/
gal-mpnet-finetuned

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

Instructions to use Clarkoer/gal-mpnet-finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Clarkoer/gal-mpnet-finetuned with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Clarkoer/gal-mpnet-finetuned")
    
    sentences = [
        "escape sequences special characters",
        "**`fertile` (constant) errors:**\n\n**Error: \"Fertile variables must be initialized\"**\n```\n// BAD:\nfertile seed MAX;\n// FIX:\nfertile seed MAX = 100;\n```\n\n**Error: \"Cannot be re-assigned\"**\n```\nfertile s",
        "loop until condition",
        "**Escape sequences** in strings:\n\n| Sequence | Result |\n|----------|--------|\n| `\\n` | Newline |\n| `\\t` | Tab |\n| `\\\\` | Backslash `\\` |\n| `\\\"` | Double quote |\n| `\\{` | Literal `{` (in format strings"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
gal-mpnet-finetuned
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Clarkoer's picture
Clarkoer
Upload folder using huggingface_hub
2a4b8f1 verified 4 months ago
  • 1_Pooling
    Upload folder using huggingface_hub 4 months ago
  • eval
    Upload folder using huggingface_hub 4 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago
  • README.md
    13.7 kB
    Upload folder using huggingface_hub 4 months ago
  • config.json
    599 Bytes
    Upload folder using huggingface_hub 4 months ago
  • config_sentence_transformers.json
    294 Bytes
    Upload folder using huggingface_hub 4 months ago
  • model.safetensors
    438 MB
    xet
    Upload folder using huggingface_hub 4 months ago
  • modules.json
    368 Bytes
    Upload folder using huggingface_hub 4 months ago
  • sentence_bert_config.json
    60 Bytes
    Upload folder using huggingface_hub 4 months ago
  • tokenizer.json
    712 kB
    Upload folder using huggingface_hub 4 months ago
  • tokenizer_config.json
    579 Bytes
    Upload folder using huggingface_hub 4 months ago