Instructions to use vext-ma/silma-darija-kashif-2b-gguf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use vext-ma/silma-darija-kashif-2b-gguf with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf vext-ma/silma-darija-kashif-2b-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf vext-ma/silma-darija-kashif-2b-gguf:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf vext-ma/silma-darija-kashif-2b-gguf:Q4_K_M # Run inference directly in the terminal: llama cli -hf vext-ma/silma-darija-kashif-2b-gguf:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf vext-ma/silma-darija-kashif-2b-gguf:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf vext-ma/silma-darija-kashif-2b-gguf:Q4_K_M
Use Docker
docker model run hf.co/vext-ma/silma-darija-kashif-2b-gguf:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use vext-ma/silma-darija-kashif-2b-gguf with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "vext-ma/silma-darija-kashif-2b-gguf" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "vext-ma/silma-darija-kashif-2b-gguf", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/vext-ma/silma-darija-kashif-2b-gguf:Q4_K_M
- Ollama
How to use vext-ma/silma-darija-kashif-2b-gguf with Ollama:
ollama run hf.co/vext-ma/silma-darija-kashif-2b-gguf:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use vext-ma/silma-darija-kashif-2b-gguf with Docker Model Runner:
docker model run hf.co/vext-ma/silma-darija-kashif-2b-gguf:Q4_K_M
- Lemonade
How to use vext-ma/silma-darija-kashif-2b-gguf with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull vext-ma/silma-darija-kashif-2b-gguf:Q4_K_M
Run and chat with the model
lemonade run user.silma-darija-kashif-2b-gguf-Q4_K_M
List all available models
lemonade list
- Atomic Chat
SILMA-2B-Darija GGUF: Quantized Moroccan Language Model
4-bit quantized GGUF weights for Ollama, llama.cpp, and local inference
SILMA-2B-Darija GGUF is a 4-bit quantized build of silma-2b-darija, fine-tuned for Moroccan Arabic (Darija / ary) and Arabizi. It is configured for offline and local execution on standard consumer hardware (Apple Silicon Macs, Linux, and Windows) using Ollama, LM Studio, or llama.cpp.
โก Quickstart with Ollama (1-Command Run)
Run directly using Ollama from Hugging Face:
ollama run hf.co/vext-ma/silma-darija-kashif-2b-gguf
Or build and create locally from the included Modelfile:
ollama create silma-darija -f Modelfile
ollama run silma-darija
๐ป Quickstart with LM Studio / Jan / llama.cpp
- Download
silma-darija-kashif-2b-q4_k_m.gguf(1.6 GB). - Drop it into your LM Studio models folder (
~/.cache/lm-studio/models/) or Jan. - Select the Gemma 2 chat template:
- System prompt: Prepend to user turn
- User prefix:
<start_of_turn>user\n - Model prefix:
<start_of_turn>model\n - Stop token:
<end_of_turn>
Using llama-cli directly:
llama-cli -m silma-darija-kashif-2b-q4_k_m.gguf \
-p "<bos><start_of_turn>user\nุณูุงู
ููุฏุงูุฑ ูุงุจุงุณ ุนูููุ<end_of_turn>\n<start_of_turn>model\n" \
-n 256 --temp 0.7 --top-p 0.9 --repeat-penalty 1.15
๐ Quantization Details
| File | Quantization | Size | RAM Required | Best For |
|---|---|---|---|---|
silma-darija-kashif-2b-q4_k_m.gguf |
Q4_K_M (4-bit Medium) |
1.6 GB | ~2.2 GB | Recommended: High speed, low memory, zero quality loss |
๐ฒ๐ฆ Core Capabilities
- Moroccan Darija Fluency: Conversational Darija with regional vocabulary.
- Arabizi Comprehension: Direct understanding of Latin-script Darija (
3for ุน,7for ุญ,9for ู,5for ุฎ). - Cultural & Administrative Knowledge: Answers questions on Moroccan history, traditions, cooking, and administrative procedures.
- Affective Prosody Tags: Supports speech inflection tags (
[calm],[excited],[whisper]) for neural TTS integration.
โ Frequently Asked Questions (FAQ)
How do I run this model with Ollama?
Run ollama run hf.co/vext-ma/silma-darija-kashif-2b-gguf directly in your terminal. Ollama will fetch the GGUF file and launch an interactive chat prompt.
Can I run this offline without internet access?
Yes. Once downloaded, the model executes entirely offline on your local CPU or GPU without sending data externally.
What are the minimum system requirements?
A standard laptop with at least 4 GB of system RAM is sufficient. On Apple Silicon Macs (M1/M2/M3/M4), inference runs at 35+ tokens per second.
๐ Acknowledgements
- AtlasIA DODa Team: For creating and open-sourcing the foundational Moroccan Darija speech corpus and lexical database.
- SWivid / F5-TTS Team: For the non-autoregressive Flow Matching DiT architecture.
- Habibi-TTS Authors: For dialectal Arabic foundation speech models.
- @Muno459: For community testing, audio verification, and feedback on Moroccan Darija speech outputs.
- SILMA AI & Google Gemma Team: For the open foundation model backbones.
- llama.cpp & Ollama Teams: For the high-performance local inference engines.
๐ Citation & Credits
- Base Model: SILMA-Kashif-2B-Instruct-v1.0
- Fine-Tuning & Quantization: Vext Research Team
- Model Adapter: SILMA-Darija-2B-LoRA
- Live Demo: SILMA Darija Web Studio
- Downloads last month
- 89
4-bit
Model tree for vext-ma/silma-darija-kashif-2b-gguf
Base model
silma-ai/SILMA-Kashif-2B-Instruct-v1.0