Instructions to use LiteLLMs/c4ai-command-r-plus-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LiteLLMs/c4ai-command-r-plus-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("LiteLLMs/c4ai-command-r-plus-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use LiteLLMs/c4ai-command-r-plus-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 LiteLLMs/c4ai-command-r-plus-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf LiteLLMs/c4ai-command-r-plus-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 LiteLLMs/c4ai-command-r-plus-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf LiteLLMs/c4ai-command-r-plus-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 LiteLLMs/c4ai-command-r-plus-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf LiteLLMs/c4ai-command-r-plus-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 LiteLLMs/c4ai-command-r-plus-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf LiteLLMs/c4ai-command-r-plus-GGUF:Q4_K_M
Use Docker
docker model run hf.co/LiteLLMs/c4ai-command-r-plus-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use LiteLLMs/c4ai-command-r-plus-GGUF with Ollama:
ollama run hf.co/LiteLLMs/c4ai-command-r-plus-GGUF:Q4_K_M
- Unsloth Studio
How to use LiteLLMs/c4ai-command-r-plus-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 LiteLLMs/c4ai-command-r-plus-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 LiteLLMs/c4ai-command-r-plus-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for LiteLLMs/c4ai-command-r-plus-GGUF to start chatting
- Docker Model Runner
How to use LiteLLMs/c4ai-command-r-plus-GGUF with Docker Model Runner:
docker model run hf.co/LiteLLMs/c4ai-command-r-plus-GGUF:Q4_K_M
- Lemonade
How to use LiteLLMs/c4ai-command-r-plus-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull LiteLLMs/c4ai-command-r-plus-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.c4ai-command-r-plus-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Upload folder using huggingface_hub
Browse files
.gitattributes
CHANGED
|
@@ -66,3 +66,6 @@ Q8_0/Q8_0-00003-of-00004.gguf filter=lfs diff=lfs merge=lfs -text
|
|
| 66 |
Q8_0/Q8_0-00004-of-00004.gguf filter=lfs diff=lfs merge=lfs -text
|
| 67 |
Q4_K_M/Q4_K_M-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 68 |
Q4_K_M/Q4_K_M-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
Q8_0/Q8_0-00004-of-00004.gguf filter=lfs diff=lfs merge=lfs -text
|
| 67 |
Q4_K_M/Q4_K_M-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 68 |
Q4_K_M/Q4_K_M-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 69 |
+
Q5_K_S/Q5_K_S-00001-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 70 |
+
Q5_K_S/Q5_K_S-00002-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 71 |
+
Q5_K_S/Q5_K_S-00003-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
Q5_K_S/Q5_K_S-00001-of-00003.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f839eec9fae7bf29813c05f71b9698cf2c40ef418297d93b79be50492ddc03c
|
| 3 |
+
size 32076001504
|
Q5_K_S/Q5_K_S-00002-of-00003.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1161e369a6049b53aa5d92f9d03c6235bc638963977592aa760fd01f69104295
|
| 3 |
+
size 32157935648
|
Q5_K_S/Q5_K_S-00003-of-00003.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f87ee92bd4cdfd569dfb6b6fb562ca34541df307d89ae27478cf61c15866ace
|
| 3 |
+
size 7570075840
|