Instructions to use matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF", dtype="auto") - llama-cpp-python
How to use matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF", filename="C4AI-Command-R7B-Arabic-02-2025-f16.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use matrixportalx/c4ai-command-r7b-arabic-02-2025-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 matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf matrixportalx/c4ai-command-r7b-arabic-02-2025-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 matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF:Q4_K_M
Use Docker
docker model run hf.co/matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF with Ollama:
ollama run hf.co/matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF:Q4_K_M
- Unsloth Studio
How to use matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF to start chatting
- Pi
How to use matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF:Q4_K_M
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 matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat new
- Docker Model Runner
How to use matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF with Docker Model Runner:
docker model run hf.co/matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF:Q4_K_M
- Lemonade
How to use matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull matrixportalx/c4ai-command-r7b-arabic-02-2025-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.c4ai-command-r7b-arabic-02-2025-GGUF-Q4_K_M
List all available models
lemonade list
Matrix commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -45,25 +45,29 @@ extra_gated_fields:
|
|
| 45 |
# matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF
|
| 46 |
This model was converted to GGUF format from [`CohereForAI/c4ai-command-r7b-arabic-02-2025`](https://huggingface.co/CohereForAI/c4ai-command-r7b-arabic-02-2025) using llama.cpp via the ggml.ai's [all-gguf-same-where](https://huggingface.co/spaces/matrixportal/all-gguf-same-where) space.
|
| 47 |
Refer to the [original model card](https://huggingface.co/CohereForAI/c4ai-command-r7b-arabic-02-2025) for more details on the model.
|
| 48 |
-
|
| 49 |
## ✅ Quantized Models Download List
|
| 50 |
|
| 51 |
### 🔍 Recommended Quantizations
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
| 🚀 Download | 🔢 Type | 📝 Notes |
|
| 53 |
|:---------|:-----|:------|
|
| 54 |
-
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/
|
| 55 |
-
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/
|
| 56 |
-
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/
|
| 57 |
-
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/
|
| 58 |
-
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/
|
| 59 |
-
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/
|
| 60 |
-
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/
|
| 61 |
-
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/
|
| 62 |
-
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/
|
| 63 |
-
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/
|
| 64 |
-
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/
|
| 65 |
-
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/
|
| 66 |
-
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/
|
| 67 |
|
| 68 |
💡 **Tip:** Use `F16` for maximum precision when quality is critical
|
| 69 |
|
|
|
|
| 45 |
# matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF
|
| 46 |
This model was converted to GGUF format from [`CohereForAI/c4ai-command-r7b-arabic-02-2025`](https://huggingface.co/CohereForAI/c4ai-command-r7b-arabic-02-2025) using llama.cpp via the ggml.ai's [all-gguf-same-where](https://huggingface.co/spaces/matrixportal/all-gguf-same-where) space.
|
| 47 |
Refer to the [original model card](https://huggingface.co/CohereForAI/c4ai-command-r7b-arabic-02-2025) for more details on the model.
|
|
|
|
| 48 |
## ✅ Quantized Models Download List
|
| 49 |
|
| 50 |
### 🔍 Recommended Quantizations
|
| 51 |
+
- **✨ General CPU Use:** [`Q4_K_M`](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/C4AI-Command-R7B-Arabic-02-2025-q4_k_m.gguf) (Best balance of speed/quality)
|
| 52 |
+
- **📱 ARM Devices:** [`Q4_0`](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/C4AI-Command-R7B-Arabic-02-2025-q4_0.gguf) (Optimized for ARM CPUs)
|
| 53 |
+
- **🏆 Maximum Quality:** [`Q8_0`](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/C4AI-Command-R7B-Arabic-02-2025-q8_0.gguf) (Near-original quality)
|
| 54 |
+
|
| 55 |
+
### 📦 Full Quantization Options
|
| 56 |
| 🚀 Download | 🔢 Type | 📝 Notes |
|
| 57 |
|:---------|:-----|:------|
|
| 58 |
+
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/C4AI-Command-R7B-Arabic-02-2025-q2_k.gguf) |  | Basic quantization |
|
| 59 |
+
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/C4AI-Command-R7B-Arabic-02-2025-q3_k_s.gguf) |  | Small size |
|
| 60 |
+
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/C4AI-Command-R7B-Arabic-02-2025-q3_k_m.gguf) |  | Balanced quality |
|
| 61 |
+
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/C4AI-Command-R7B-Arabic-02-2025-q3_k_l.gguf) |  | Better quality |
|
| 62 |
+
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/C4AI-Command-R7B-Arabic-02-2025-q4_0.gguf) |  | Fast on ARM |
|
| 63 |
+
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/C4AI-Command-R7B-Arabic-02-2025-q4_k_s.gguf) |  | Fast, recommended |
|
| 64 |
+
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/C4AI-Command-R7B-Arabic-02-2025-q4_k_m.gguf) |  ⭐ | Best balance |
|
| 65 |
+
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/C4AI-Command-R7B-Arabic-02-2025-q5_0.gguf) |  | Good quality |
|
| 66 |
+
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/C4AI-Command-R7B-Arabic-02-2025-q5_k_s.gguf) |  | Balanced |
|
| 67 |
+
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/C4AI-Command-R7B-Arabic-02-2025-q5_k_m.gguf) |  | High quality |
|
| 68 |
+
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/C4AI-Command-R7B-Arabic-02-2025-q6_k.gguf) |  🏆 | Very good quality |
|
| 69 |
+
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/C4AI-Command-R7B-Arabic-02-2025-q8_0.gguf) |  ⚡ | Fast, best quality |
|
| 70 |
+
| [Download](https://huggingface.co/matrixportal/c4ai-command-r7b-arabic-02-2025-GGUF/resolve/main/C4AI-Command-R7B-Arabic-02-2025-f16.gguf) |  | Maximum accuracy |
|
| 71 |
|
| 72 |
💡 **Tip:** Use `F16` for maximum precision when quality is critical
|
| 73 |
|