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 +3 -0
- Q4_1/Q4_1-00001-of-00003.gguf +3 -0
- Q4_1/Q4_1-00002-of-00003.gguf +3 -0
- Q4_1/Q4_1-00003-of-00003.gguf +3 -0
.gitattributes
CHANGED
|
@@ -35,3 +35,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
Q4_0/Q4_0-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
Q4_0/Q4_0-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
Q4_0/Q4_0-00001-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
Q4_0/Q4_0-00002-of-00002.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Q4_1/Q4_1-00001-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Q4_1/Q4_1-00002-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Q4_1/Q4_1-00003-of-00003.gguf filter=lfs diff=lfs merge=lfs -text
|
Q4_1/Q4_1-00001-of-00003.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8f2c81229141fd8a93976be30049ae549b3bbb1f686a22b43728a81a20bf038a
|
| 3 |
+
size 32085747648
|
Q4_1/Q4_1-00002-of-00003.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0e4b8724ff2a5a8db3f4a909187a8318c6a837e1ef2dd938458b5a811155fc6c
|
| 3 |
+
size 31979568448
|
Q4_1/Q4_1-00003-of-00003.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:decd64362bd18bda8dfbc4822357e0caf28dbdcf04f3d12910a0db1bd6031ab7
|
| 3 |
+
size 1447240896
|