How to use from
Hermes Agent
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf GemMaroc/Qwen2.5-32B-Instruct-darija-gguf:F16
Configure Hermes
# Install Hermes:
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
hermes setup
# Point Hermes at the local server:
hermes config set model.provider custom
hermes config set model.base_url http://127.0.0.1:8080/v1
hermes config set model.default GemMaroc/Qwen2.5-32B-Instruct-darija-gguf:F16
Run Hermes
hermes
Quick Links

Qwen2.5-32B-Instruct-darija-gguf

This repository contains quantized versions of Qwen2.5-32B-Instruct-darija in GGUF format for efficient inference.

Available Quantizations

Quantization Description File Size Use Case
f16 FP16 (no quantization) 62499.97 MB Best quality, largest size
0 0 33207.78 MB Quantized version

Usage

Using llama.cpp

# Download the desired quantization
wget https://huggingface.co/GemMaroc/Qwen2.5-32B-Instruct-darija-gguf/resolve/main/Qwen2.5-32B-Instruct-darija_ckpt-*_q8_0.gguf

# Run inference
./llama-cli -m Qwen2.5-32B-Instruct-darija_ckpt-*_q8_0.gguf -p "Your prompt here"

Using Python with llama-cpp-python

from llama_cpp import Llama

# Load the quantized model
llm = Llama(
    model_path="./Qwen2.5-32B-Instruct-darija_ckpt-*_q8_0.gguf",
    n_ctx=32768,  # Context length
    n_threads=8,  # Number of CPU threads
)

# Generate text
response = llm("Your prompt here", max_tokens=512)
print(response['choices'][0]['text'])

Model Information

Recommendations

  • For best quality: Use f16 (largest file size)
  • For balanced performance: Use q8_0 (recommended)
  • For resource-constrained environments: Use tq2_0 or tq1_0

Citation

If you use this model, please cite the original GemMaroc paper:

@misc{skiredj2025gemmarocunlockingdarijaproficiency,
      title={GemMaroc: Unlocking Darija Proficiency in LLMs with Minimal Data},
      author={Abderrahman Skiredj and Ferdaous Azhari and Houdaifa Atou and Nouamane Tazi and Ismail Berrada},
      year={2025},
      eprint={2505.17082},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2505.17082},
}
Downloads last month
17
GGUF
Model size
33B params
Architecture
qwen2
Hardware compatibility
Log In to add your hardware

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for GemMaroc/Qwen2.5-32B-Instruct-darija-gguf

Base model

Qwen/Qwen2.5-32B
Quantized
(3)
this model

Paper for GemMaroc/Qwen2.5-32B-Instruct-darija-gguf