Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

mabdulaziz499
/
bahith-arabic-retrieval-4b

Sentence Similarity
sentence-transformers
Safetensors
Arabic
qwen3
feature-extraction
retrieval
arabic
matryoshka
mteb
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use mabdulaziz499/bahith-arabic-retrieval-4b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use mabdulaziz499/bahith-arabic-retrieval-4b with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("mabdulaziz499/bahith-arabic-retrieval-4b")
    
    sentences = [
        "ما هي عاصمة مصر؟",
        "القاهرة هي عاصمة جمهورية مصر العربية وأكبر مدنها.",
        "باريس هي عاصمة فرنسا وتقع على نهر السين.",
        "الأهرامات من عجائب الدنيا السبع في العصور القديمة."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
bahith-arabic-retrieval-4b
8.06 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
mabdulaziz499's picture
mabdulaziz499
Add model card
eb3eef4 verified 4 months ago
  • 1_Pooling
    Upload fine-tuned model 4 months ago
  • .gitattributes
    1.57 kB
    Upload fine-tuned model 4 months ago
  • README.md
    7.71 kB
    Add model card 4 months ago
  • chat_template.jinja
    2.43 kB
    Upload fine-tuned model 4 months ago
  • config.json
    1.59 kB
    Upload fine-tuned model 4 months ago
  • config_sentence_transformers.json
    376 Bytes
    Upload fine-tuned model 4 months ago
  • model.safetensors
    8.04 GB
    xet
    Upload fine-tuned model 4 months ago
  • modules.json
    429 Bytes
    Upload fine-tuned model 4 months ago
  • sentence_bert_config.json
    241 Bytes
    Upload fine-tuned model 4 months ago
  • tokenizer.json
    11.4 MB
    xet
    Upload fine-tuned model 4 months ago
  • tokenizer_config.json
    401 Bytes
    Upload fine-tuned model 4 months ago