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

TheMohanad1
/
Fine-Tuned-E5

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

Instructions to use TheMohanad1/Fine-Tuned-E5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use TheMohanad1/Fine-Tuned-E5 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("TheMohanad1/Fine-Tuned-E5")
    
    sentences = [
        "ماذا تقول المادة الخامسة عشرة من الباب الثالث لنظام القضاء؟",
        "نظام القضاء\nالباب الثالث المحاكم وولايتها\nالفصل الثالث  محاكم الإستئناف\nالمادة الخامسة عشرة\n\n١- يكون في كل منطقة محكمة استئناف أو أكثر، وتباشر أعمالها من خلال دوائر متخصصة، تؤلف كل دائرة منها من ثلاثة قضاة، باستثناء الدائرة الجزائية التي تنظر في قضايا القتل والقطع والرجم والقصاص في النفس أو فيما دونها فتؤلف من خمسة قضاة، ولا تقل درجة القاضي في محكمة الاستئناف عن درجة قاضي استئناف، ويكون لكل دائرة رئيس.٢- يجوز إنشاء دائرة استئناف متخصصة أو أكثر في المحافظات التابعة للمنطقة التي فيها محكمة استئناف .٣- يسمى رئيس كل دائرة وأعضاؤها بقرار من رئيس محكمة الاستئناف ، ويتولى رئيس المحكمة - أو من ينيبه من أعضاء المحكمة - رئاسة الدائرة عند غياب رئيسها.",
        "القواعد الخاصة بتنظيم شؤون الخبرة أمام المحاكم\nالترخيص للخبراء\n\nالمادة الحادية عشرة\n\nتعد الوحدة الاختبار الخاص بالترخيص.",
        "نظام التنفيذ\nالباب الأول:\nالفصل الأول: اختصاصات قاضي التنفيذ\nالمادة الخامسة\n\nإذا تعددت الدوائر المختصة بالتنفيذ؛ فيكون لقاضي التنفيذ - الذي قام بأول إجراء تنفيذي - الإشراف على التنفيذ وتوزيع حصيلته، وله أن ينيب قاضي تنفيذ في دائرة أخرى للتنفيذ على مال المدين، وتحدد اللائحة الأحكام اللازمة لذلك."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
Fine-Tuned-E5
2.26 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
TheMohanad1's picture
TheMohanad1
Upload config.json
2c4b9b7 verified 8 months ago
  • 1_Pooling
    Upload config.json 8 months ago
  • .gitattributes
    1.57 kB
    Upload 13 files 8 months ago
  • README.md
    26.8 kB
    Upload 13 files 8 months ago
  • config.json
    698 Bytes
    Upload 13 files 8 months ago
  • config_sentence_transformers.json
    205 Bytes
    Upload 13 files 8 months ago
  • model.safetensors
    2.24 GB
    xet
    Upload 13 files 8 months ago
  • modules.json
    349 Bytes
    Upload 13 files 8 months ago
  • sentence_bert_config.json
    53 Bytes
    Upload 13 files 8 months ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Upload 13 files 8 months ago
  • special_tokens_map.json
    964 Bytes
    Upload 13 files 8 months ago
  • tokenizer.json
    17.1 MB
    xet
    Upload 13 files 8 months ago
  • tokenizer_config.json
    1.18 kB
    Upload 13 files 8 months ago
  • training_info.json
    307 Bytes
    Upload 13 files 8 months ago