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_M3_RAG_MODEL_data_mixture_cs_2

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

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

  • Libraries
  • sentence-transformers

    How to use Matjac5/MNLP_M3_RAG_MODEL_data_mixture_cs_2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Matjac5/MNLP_M3_RAG_MODEL_data_mixture_cs_2")
    
    sentences = [
        "There are seven thieves. They stole diamonds from a diamond merchant and ran away. While running, night sets in and they decide to rest in the jungle.\nWhen everybody was sleeping, two of them woke up and decided to divide the diamonds equally among themselves. But when they divided the diamonds equally, one diamond is left.\nSo they woke up the 3rd thief and tried to divide the diamonds equally again but still one diamond was left. Then they woke up the 4th thief to divide the diamonds equally again, and again one diamond was left. This happened with the 5th and 6th thief – one diamond was still left.\nFinally, they woke up the 7th thief and this time the diamonds were divided equally.\nHow many diamonds did they steal in total?",
        "'",
        "'",
        "e"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
MNLP_M3_RAG_MODEL_data_mixture_cs_2
2.4 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Matjac5's picture
Matjac5
Upload rag SentenceTransformer
51333dd verified 12 months ago
  • 1_Pooling
    Upload rag SentenceTransformer 12 months ago
  • .gitattributes
    1.57 kB
    Upload rag SentenceTransformer 12 months ago
  • README.md
    13.6 kB
    Upload rag SentenceTransformer 12 months ago
  • added_tokens.json
    707 Bytes
    Upload rag SentenceTransformer 12 months ago
  • chat_template.jinja
    4.12 kB
    Upload rag SentenceTransformer 12 months ago
  • config.json
    720 Bytes
    Upload rag SentenceTransformer 12 months ago
  • config_sentence_transformers.json
    205 Bytes
    Upload rag SentenceTransformer 12 months ago
  • merges.txt
    1.67 MB
    Upload rag SentenceTransformer 12 months ago
  • model.safetensors
    2.38 GB
    xet
    Upload rag SentenceTransformer 12 months ago
  • modules.json
    229 Bytes
    Upload rag SentenceTransformer 12 months ago
  • sentence_bert_config.json
    53 Bytes
    Upload rag SentenceTransformer 12 months ago
  • special_tokens_map.json
    616 Bytes
    Upload rag SentenceTransformer 12 months ago
  • tokenizer.json
    11.4 MB
    xet
    Upload rag SentenceTransformer 12 months ago
  • tokenizer_config.json
    5.4 kB
    Upload rag SentenceTransformer 12 months ago
  • vocab.json
    2.78 MB
    Upload rag SentenceTransformer 12 months ago