AliAbdelrasheed/maqa_llama_4bit_GGUF
MAQA-LLaMA-4bit-GGUF — Arabic Medical Q&A (CPU-Compatible)
<p align="center"> <img src="https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png" width="115"/> </p>
⚠️ Disclaimer: This model is intended for research and informational purposes only. It is not a substitute for professional medical advice, diagnosis, or treatment. It cannot and should not be used to prescribe or recommend medications.
Model Summary
maqa_llama_4bit_GGUF is the CPU-compatible GGUF quantised variant of `maqa_llama` — a Llama 3 8B model fine-tuned on 430,000 real Arabic doctor-patient interactions across 20 medical specialisations. Designed for local deployment without a GPU.
Model Family
Quantisation Options
Quick Start
llama.cpp
# Install llama.cpp (if not already installed)
git clone https://github.com/ggerganov/llama.cpp
cd llama.cpp && make
# Download the model
huggingface-cli download AliAbdelrasheed/maqa_llama_4bit_GGUF --local-dir ./maqa_gguf
# Run inference
./llama-cli -m ./maqa_gguf/maqa_llama_4bit_GGUF-Q4_K_M.gguf \
--color \
-p "ما هي أسباب ارتفاع ضغط الدم وكيف يمكن علاجه؟" \
-n 256Ollama
ollama run hf.co/AliAbdelrasheed/maqa_llama_4bit_GGUFLM Studio
Search for AliAbdelrasheed/maqa_llama_4bit_GGUF in the LM Studio model browser and download the Q4KM variant.
Dataset — MAQA
Dataset: "Deep learning for Arabic healthcare: MedicalBot" — Springer (2023) Harvard Dataverse
Training Details
Fine-tuned using QLoRA (rank 16, alpha 32) via the Unsloth framework on Google Colab Pro. Full training hyperparameters available on the base model card.
GGUF conversion was performed using Unsloth's native push_to_hub_gguf method with quantization_method = "q4_k_m".
System Prompt Used During Training
أنت طبيب محترف ولديك خبرة في كل مجالات الطب.
يجيب على أسئلة المرضى حول الأمراض، باستخدام لهجة رسمية وودية،
وإجابات موجزة ومفيدة يسهل على الجميع فهمها.Limitations
- Not a substitute for professional medical advice or clinical diagnosis
- Cannot prescribe or recommend medications
- Optimised for Modern Standard Arabic; dialectal performance may vary
- Trained on a sampled subset of MAQA
- Web-scraped data may contain noise or outdated medical information
Developed By
Ali Abdelrasheed — Graduation Project Nile University · B.Sc. Information Technology – Big Data · Class of 2024 🤗 HuggingFace Profile
