Instructions to use Jobaar/c4ai-command-r-GGUF-fixed_pretokenizer 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 Jobaar/c4ai-command-r-GGUF-fixed_pretokenizer 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 Jobaar/c4ai-command-r-GGUF-fixed_pretokenizer:Q4_K_M # Run inference directly in the terminal: llama cli -hf Jobaar/c4ai-command-r-GGUF-fixed_pretokenizer:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Jobaar/c4ai-command-r-GGUF-fixed_pretokenizer:Q4_K_M # Run inference directly in the terminal: llama cli -hf Jobaar/c4ai-command-r-GGUF-fixed_pretokenizer: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 Jobaar/c4ai-command-r-GGUF-fixed_pretokenizer:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf Jobaar/c4ai-command-r-GGUF-fixed_pretokenizer: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 Jobaar/c4ai-command-r-GGUF-fixed_pretokenizer:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf Jobaar/c4ai-command-r-GGUF-fixed_pretokenizer:Q4_K_M
Use Docker
docker model run hf.co/Jobaar/c4ai-command-r-GGUF-fixed_pretokenizer:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use Jobaar/c4ai-command-r-GGUF-fixed_pretokenizer with Ollama:
ollama run hf.co/Jobaar/c4ai-command-r-GGUF-fixed_pretokenizer:Q4_K_M
- Unsloth Studio
How to use Jobaar/c4ai-command-r-GGUF-fixed_pretokenizer 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 Jobaar/c4ai-command-r-GGUF-fixed_pretokenizer 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 Jobaar/c4ai-command-r-GGUF-fixed_pretokenizer to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Jobaar/c4ai-command-r-GGUF-fixed_pretokenizer to start chatting
- Docker Model Runner
How to use Jobaar/c4ai-command-r-GGUF-fixed_pretokenizer with Docker Model Runner:
docker model run hf.co/Jobaar/c4ai-command-r-GGUF-fixed_pretokenizer:Q4_K_M
- Lemonade
How to use Jobaar/c4ai-command-r-GGUF-fixed_pretokenizer with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Jobaar/c4ai-command-r-GGUF-fixed_pretokenizer:Q4_K_M
Run and chat with the model
lemonade run user.c4ai-command-r-GGUF-fixed_pretokenizer-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Llama.cpp command-r pre-tokenizer gguf fixed
main: build = 2789 (84250014)
main: built with gcc (Ubuntu 13.2.0-4ubuntu3) 13.2.0 for x86_64-linux-gnu
main: quantizing '/gguf/c4ai-commandr-v01_a.gguf' to '/gguf/c4ai-command-r-v01-Q5_K_M.gguf' as Q5_K_M
llama_model_loader: loaded meta data with 26 key-value pairs and 322 tensors from c4ai-commandr-v01_a.gguf (version GGUF V3 (latest))
llama_model_loader: Dumping metadata keys/values. Note: KV overrides do not apply in this output.
llama_model_loader: - kv 0: general.architecture str = command-r
llama_model_loader: - kv 1: command-r.block_count u32 = 40
llama_model_loader: - kv 2: command-r.context_length u32 = 131072
llama_model_loader: - kv 3: command-r.embedding_length u32 = 8192
llama_model_loader: - kv 4: command-r.feed_forward_length u32 = 22528
llama_model_loader: - kv 5: command-r.attention.head_count u32 = 64
llama_model_loader: - kv 6: command-r.attention.head_count_kv u32 = 64
llama_model_loader: - kv 7: command-r.rope.freq_base f32 = 8000000.000000
llama_model_loader: - kv 8: command-r.attention.layer_norm_epsilon f32 = 0.000010
llama_model_loader: - kv 9: general.file_type u32 = 1
llama_model_loader: - kv 10: command-r.logit_scale f32 = 0.062500
llama_model_loader: - kv 11: command-r.rope.scaling.type str = none
llama_model_loader: - kv 12: tokenizer.ggml.model str = gpt2
llama_model_loader: - kv 13: tokenizer.ggml.pre str = command-r
llama_model_loader: - kv 14: tokenizer.ggml.tokens arr[str,256000] = ["<PAD>", "<UNK>", "<CLS>", "<SEP>", ...
llama_model_loader: - kv 15: tokenizer.ggml.token_type arr[i32,256000] = [3, 3, 3, 3, 3, 3, 3, 3, 1, 1, 1, 1, ...
llama_model_loader: - kv 16: tokenizer.ggml.merges arr[str,253333] = ["Ġ Ġ", "Ġ t", "e r", "i n", "Ġ a...
llama_model_loader: - kv 17: tokenizer.ggml.bos_token_id u32 = 5
llama_model_loader: - kv 18: tokenizer.ggml.eos_token_id u32 = 255001
llama_model_loader: - kv 19: tokenizer.ggml.padding_token_id u32 = 0
llama_model_loader: - kv 20: tokenizer.ggml.add_bos_token bool = true
llama_model_loader: - kv 21: tokenizer.ggml.add_eos_token bool = false
llama_model_loader: - kv 22: tokenizer.chat_template.tool_use str = {{ bos_token }}{% if messages[0]['rol...
llama_model_loader: - kv 23: tokenizer.chat_template.rag str = {{ bos_token }}{% if messages[0]['rol...
llama_model_loader: - kv 24: tokenizer.chat_templates arr[str,2] = ["rag", "tool_use"]
llama_model_loader: - kv 25: tokenizer.chat_template str = {{ bos_token }}{% if messages[0]['rol...
- Downloads last month
- 17
Hardware compatibility
Log In to add your hardware
4-bit
5-bit
6-bit
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support