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

Matjac5
/
MNLP_M2_document_encoder

Sentence Similarity
sentence-transformers
Safetensors
qwen3
feature-extraction
Generated from Trainer
dataset_size:9741
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use Matjac5/MNLP_M2_document_encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Matjac5/MNLP_M2_document_encoder with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Matjac5/MNLP_M2_document_encoder")
    
    sentences = [
        "His anger reached a boiling point, the therapist said they should take a break and what?",
        "chicken coop",
        "cool off",
        "bark"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
MNLP_M2_document_encoder
14.2 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 12 commits
Matjac5's picture
Matjac5
Delete sentence_bert_config.json
52ff61f verified 12 months ago
  • .gitattributes
    1.57 kB
    Upload 14 files 12 months ago
  • special_tokens_map.json
    613 Bytes
    Upload 14 files 12 months ago
  • tokenizer.json
    11.4 MB
    xet
    Upload 14 files 12 months ago
  • tokenizer_config.json
    5.4 kB
    Upload 14 files 12 months ago
  • vocab.json
    2.78 MB
    Upload 14 files 12 months ago