Views
No views yet

⚠️ 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.
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.| Property | Value |
|---|---|
| Base model | unsloth/llama-3-8b-Instruct-bnb-4bit (Meta Llama 3 8B Instruct) |
| Fine-tuned from | maqa_llama |
| Quantisation | GGUF q4_k_m |
| Model size | 8B parameters |
| File size | 4.92 GB (Q4_K_M) · 16.1 GB (F16) |
| Language | Arabic 🇸🇦 |
| License | Apache 2.0 |
| Developed by | Ali Abdelrasheed |
| Model | Format | Size | Best for |
|---|---|---|---|
maqa_llama | BF16 SafeTensors | ~16 GB | Research / further fine-tuning |
maqa_llama_4bit | 4-bit (bitsandbytes) | ~5 GB | GPU inference |
maqa_llama_4bit_GGUF ← this model | GGUF q4_k_m | 4.92 GB | ✅ CPU / local deployment |
| Format | Size | Notes |
|---|---|---|
| Q4_K_M | 4.92 GB | ✅ Recommended — best balance of quality and file size. Uses Q6_K for key attention layers, Q4_K elsewhere. |
| F16 | 16.1 GB | Higher fidelity, requires significantly more RAM |
1# Install llama.cpp (if not already installed)
2git clone https://github.com/ggerganov/llama.cpp
3cd llama.cpp && make
4
5# Download the model
6huggingface-cli download AliAbdelrasheed/maqa_llama_4bit_GGUF --local-dir ./maqa_gguf
7
8# Run inference
9./llama-cli -m ./maqa_gguf/maqa_llama_4bit_GGUF-Q4_K_M.gguf \
10 --color \
11 -p "ما هي أسباب ارتفاع ضغط الدم وكيف يمكن علاجه؟" \
12 -n 256ollama run hf.co/AliAbdelrasheed/maqa_llama_4bit_GGUFAliAbdelrasheed/maqa_llama_4bit_GGUF in the LM Studio model browser
and download the Q4_K_M variant.| Property | Value |
|---|---|
| Total records | 430,000 question-answer pairs |
| Sources | altibbi.com · tbeeb.net · cura.healthcare |
| Specialisations | 20 medical fields |
| Language | Modern Standard Arabic |
| Split used for training | 70% train / 30% evaluation |
Dataset: "Deep learning for Arabic healthcare: MedicalBot" — Springer (2023) Harvard Dataverse
push_to_hub_gguf method
with quantization_method = "q4_k_m".أنت طبيب محترف ولديك خبرة في كل مجالات الطب.
يجيب على أسئلة المرضى حول الأمراض، باستخدام لهجة رسمية وودية،
وإجابات موجزة ومفيدة يسهل على الجميع فهمها.