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

Monad-dz
/
Arabic-Triplet-Matryoshka-V2-finetuned-keywords_3800

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:1492298
loss:TripletLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use Monad-dz/Arabic-Triplet-Matryoshka-V2-finetuned-keywords_3800 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Monad-dz/Arabic-Triplet-Matryoshka-V2-finetuned-keywords_3800 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Monad-dz/Arabic-Triplet-Matryoshka-V2-finetuned-keywords_3800")
    
    sentences = [
        "لكن حيث أن القرار المطعون فيه يحمل دليل شرعيته وقانونيته وأنه من المؤكد أنه قد صدر بعد أن أعطيت الكلمة الأخيرة للمتهم وفق ما تنص عليه أحكام المادة 04/431 من قانون الإجراءات الجزائية وعليه كان على الطاعن إن لم يتم هذا الإجراء الجوهري أن يقدم ما يثبت ذلك واعتبارا أنه لم يفعل يتعين رفض هذا الوجه ورفض الطعن معه.",
        "دليل كتابي",
        "تبديد",
        "اغفال"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
Arabic-Triplet-Matryoshka-V2-finetuned-keywords_3800
543 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
nawelsakh's picture
nawelsakh
Add new SentenceTransformer model
6d3f843 verified 6 months ago
  • 1_Pooling
    Add new SentenceTransformer model 6 months ago
  • .gitattributes
    1.52 kB
    initial commit 6 months ago
  • README.md
    30.3 kB
    Add new SentenceTransformer model 6 months ago
  • config.json
    577 Bytes
    Add new SentenceTransformer model 6 months ago
  • config_sentence_transformers.json
    283 Bytes
    Add new SentenceTransformer model 6 months ago
  • model.safetensors
    541 MB
    xet
    Add new SentenceTransformer model 6 months ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model 6 months ago
  • sentence_bert_config.json
    57 Bytes
    Add new SentenceTransformer model 6 months ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model 6 months ago
  • tokenizer.json
    1.78 MB
    Add new SentenceTransformer model 6 months ago
  • tokenizer_config.json
    2.05 kB
    Add new SentenceTransformer model 6 months ago
  • vocab.txt
    761 kB
    Add new SentenceTransformer model 6 months ago