Downloads · 30 days
30
1% of all-time downloads
AliAbdelrasheed/maqa_llama_4bit_GGUF
maqa_llama_4bit_GGUF is a machine learning model from AliAbdelrasheed. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.
<p align="center" <img src="https://github.com/unslothai/unsloth/raw/main/images/unsloth%20new%20logo.png" width="115"/ </p
Downloads · 30 days
30
1% of all-time downloads
All-time downloads
3.8K
Public
Repo size
21 GB
Likes
0
Public
Click a slice to open those files.
.gguf21 GB · 100%
From the Hugging Face model README
⚠️ 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 |
# 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 256
ollama run hf.co/AliAbdelrasheed/maqa_llama_4bit_GGUF
Search for AliAbdelrasheed/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
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".
أنت طبيب محترف ولديك خبرة في كل مجالات الطب.
يجيب على أسئلة المرضى حول الأمراض، باستخدام لهجة رسمية وودية،
وإجابات موجزة ومفيدة يسهل على الجميع فهمها.
Ali Abdelrasheed — Graduation Project Nile University · B.Sc. Information Technology – Big Data · Class of 2024 🤗 HuggingFace Profile