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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

IdealisticSolutions
/
islamqa-retriever-quran

Sentence Similarity
sentence-transformers
Safetensors
Arabic
modernbert
feature-extraction
dense
bi-encoder
arabic
quran
hadith
retrieval
islamic-nlp
loss:ContrastiveLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use IdealisticSolutions/islamqa-retriever-quran with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use IdealisticSolutions/islamqa-retriever-quran with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("IdealisticSolutions/islamqa-retriever-quran")
    
    sentences = [
        "ما هو أعظم الذنوب؟",
        "إن الله لا يغفر أن يشرك به ويغفر ما دون ذلك لمن يشاء ومن يشرك بالله فقد ضل ضلالا بعيدا.",
        "ألهاكم التكاثر. حتى زرتم المقابر. كلا سوف تعلمون. ثم كلا سوف تعلمون.",
        "إنا أعطيناك الكوثر. فصل لربك وانحر. إن شانئك هو الأبتر."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
islamqa-retriever-quran
601 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
Eslamspot's picture
Eslamspot
Update repo references after transfer to IdealisticSolutions
02320f7 verified 7 days ago
  • 1_Pooling
    Add curriculum stage_3 (quqa) sentence-transformers checkpoint 7 days ago
  • .gitattributes
    1.52 kB
    initial commit 7 days ago
  • README.md
    12.6 kB
    Update repo references after transfer to IdealisticSolutions 7 days ago
  • config.json
    2.15 kB
    Add curriculum stage_3 (quqa) sentence-transformers checkpoint 7 days ago
  • config_sentence_transformers.json
    297 Bytes
    Add curriculum stage_3 (quqa) sentence-transformers checkpoint 7 days ago
  • model.safetensors
    596 MB
    xet
    Add curriculum stage_3 (quqa) sentence-transformers checkpoint 7 days ago
  • modules.json
    290 Bytes
    Add curriculum stage_3 (quqa) sentence-transformers checkpoint 7 days ago
  • sentence_bert_config.json
    250 Bytes
    Add curriculum stage_3 (quqa) sentence-transformers checkpoint 7 days ago
  • stage.json
    40 Bytes
    Add curriculum stage_3 (quqa) sentence-transformers checkpoint 7 days ago
  • tokenizer.json
    4.88 MB
    Add curriculum stage_3 (quqa) sentence-transformers checkpoint 7 days ago
  • tokenizer_config.json
    593 Bytes
    Add curriculum stage_3 (quqa) sentence-transformers checkpoint 7 days ago