Instructions to use cortexso/command-r 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 cortexso/command-r 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 cortexso/command-r:Q4_K_M # Run inference directly in the terminal: llama cli -hf cortexso/command-r:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf cortexso/command-r:Q4_K_M # Run inference directly in the terminal: llama cli -hf cortexso/command-r: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 cortexso/command-r:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf cortexso/command-r:Q4_K_M
Use Docker
docker model run hf.co/cortexso/command-r:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use cortexso/command-r with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cortexso/command-r" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cortexso/command-r", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cortexso/command-r:Q4_K_M
- Ollama
How to use cortexso/command-r with Ollama:
ollama run hf.co/cortexso/command-r:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use cortexso/command-r with Docker Model Runner:
docker model run hf.co/cortexso/command-r:Q4_K_M
- Lemonade
How to use cortexso/command-r with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull cortexso/command-r:Q4_K_M
Run and chat with the model
lemonade run user.command-r-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload folder using huggingface_hub
Browse filesFiles changed (11)
- .gitattributes+10
- c4ai-command-r-v01-q2_k.ggufAdded+3
- c4ai-command-r-v01-q3_k_l.ggufAdded+3
- c4ai-command-r-v01-q3_k_m.ggufAdded+3
- c4ai-command-r-v01-q3_k_s.ggufAdded+3
- c4ai-command-r-v01-q4_k_m.ggufAdded+3
- c4ai-command-r-v01-q4_k_s.ggufAdded+3
- c4ai-command-r-v01-q5_k_m.ggufAdded+3
- c4ai-command-r-v01-q5_k_s.ggufAdded+3
- c4ai-command-r-v01-q6_k.ggufAdded+3
- c4ai-command-r-v01-q8_0.ggufAdded+3
33 unmodified lines34353633 unmodified lines*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textmodel.gguf filter=lfs diff=lfs merge=lfs -text33 unmodified lines3435363738394041424344454633 unmodified lines*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textmodel.gguf filter=lfs diff=lfs merge=lfs -textc4ai-command-r-v01-q2_k.gguf filter=lfs diff=lfs merge=lfs -textc4ai-command-r-v01-q3_k_l.gguf filter=lfs diff=lfs merge=lfs -textc4ai-command-r-v01-q3_k_m.gguf filter=lfs diff=lfs merge=lfs -textc4ai-command-r-v01-q3_k_s.gguf filter=lfs diff=lfs merge=lfs -textc4ai-command-r-v01-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -textc4ai-command-r-v01-q4_k_s.gguf filter=lfs diff=lfs merge=lfs -textc4ai-command-r-v01-q5_k_m.gguf filter=lfs diff=lfs merge=lfs -textc4ai-command-r-v01-q5_k_s.gguf filter=lfs diff=lfs merge=lfs -textc4ai-command-r-v01-q6_k.gguf filter=lfs diff=lfs merge=lfs -textc4ai-command-r-v01-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
123version https://git-lfs.github.com/spec/v1oid sha256:fb2d1e89b0a26fbf2d0f20212053fc74c6bdfb7a2ef022ddb4b1f48f162741easize 13817400256123version https://git-lfs.github.com/spec/v1oid sha256:773104d567d991371287a07c470d02c249693caab234bfe65440e57a0f746ac9size 19149409216123version https://git-lfs.github.com/spec/v1oid sha256:490d079a2b7e7e34da6802fa2070334f7d6bddfcf2bbbc44a66a0b09eedabca7size 17618488256123version https://git-lfs.github.com/spec/v1oid sha256:2b56704ab95caf5fdde591348cf224d263a172a2932d4df414396033f7a88de6size 15862123456123version https://git-lfs.github.com/spec/v1oid sha256:bf87607f2107c31dd1ffff61877dc6e928fb130aec4f4acc077a1476c7d3625bsize 21527055296123version https://git-lfs.github.com/spec/v1oid sha256:b42ac79faa91930ef3ac868d617125d7a25bd76125dafb7d8b0a86a35aaa38b7size 20378340288123version https://git-lfs.github.com/spec/v1oid sha256:1a0fd977cfea9a193db36d8bfb0a592d5acd6988237009f0cea8a22eb527162csize 25008327616123version https://git-lfs.github.com/spec/v1oid sha256:42a659ea359f022a3c4a16f4f36a9ed973a6692f41b592d7b3dff9f775021656size 24339860416123version https://git-lfs.github.com/spec/v1oid sha256:d028823472a2ea9176a789f5c798e5f1634dd43b887904b1499c2aa15045c60dsize 28707179456123version https://git-lfs.github.com/spec/v1oid sha256:bd7dfb674ea88521c91853884bfd6895242f7c4de9b51aa0911ba4e27def5c0dsize 37179018176.gitattributes+10
c4ai-command-r-v01-q2_k.ggufAdded+3
c4ai-command-r-v01-q3_k_l.ggufAdded+3
c4ai-command-r-v01-q3_k_m.ggufAdded+3
c4ai-command-r-v01-q3_k_s.ggufAdded+3
c4ai-command-r-v01-q4_k_m.ggufAdded+3
c4ai-command-r-v01-q4_k_s.ggufAdded+3
c4ai-command-r-v01-q5_k_m.ggufAdded+3
c4ai-command-r-v01-q5_k_s.ggufAdded+3
c4ai-command-r-v01-q6_k.ggufAdded+3
c4ai-command-r-v01-q8_0.ggufAdded+3