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:
# pip install -U transformers accelerate # 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 Desktop
- 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
Commit History
-
Upload folder using huggingface_hub
Verified signaturef829979 -
Upload folder using huggingface_hub
Verified signature5fe83d9 -
Upload folder using huggingface_hub
Verified signature539acc1 -
Upload folder using huggingface_hub
Verified signature983a8cc
-
Upload folder using huggingface_hub
Verified signature1b68113 -
Upload folder using huggingface_hub
Verified signaturea484d09 -
Upload folder using huggingface_hub
Verified signature7c36272 -
Upload folder using huggingface_hub
Verified signature2f17067 -
Upload folder using huggingface_hub
Verified signature795ae3c -
Upload folder using huggingface_hub
Verified signature3cbdf4c -
Upload folder using huggingface_hub
Verified signature50cc1c1 -
Upload folder using huggingface_hub
Verified signaturedd541b5 -
Upload folder using huggingface_hub
Verified signaturecd02c4d -
Upload folder using huggingface_hub
Verified signature6e7fa8d -
Upload folder using huggingface_hub
Verified signature7b68bde -
Upload folder using huggingface_hub
Verified signatureb29485c
-
Upload folder using huggingface_hub
Verified signature1ccaf70 -
Upload folder using huggingface_hub
Verified signature5146687 -
Upload folder using huggingface_hub
Verified signaturec4cc528 -
Upload folder using huggingface_hub
Verified signature7a65707 -
Upload folder using huggingface_hub
Verified signaturea197427 -
Upload folder using huggingface_hub
Verified signature1dc22d3 -
Upload folder using huggingface_hub
Verified signaturedd3e061 -
Upload folder using huggingface_hub
Verified signaturedb00df2 -
Upload folder using huggingface_hub
Verified signature96e98ee -
Upload folder using huggingface_hub
Verified signaturee861ecf -
Upload folder using huggingface_hub
Verified signature694ebf2 -
Upload folder using huggingface_hub
Verified signature6a35904 -
Upload folder using huggingface_hub
Verified signature6d07b30 -
Upload folder using huggingface_hub
Verified signature90f404a -
Upload folder using huggingface_hub
Verified signature4ee9f7b
-
Upload folder using huggingface_hub
Verified signature5b2729b
-
Upload folder using huggingface_hub
Verified signaturec4d9960 -
Upload folder using huggingface_hub
Verified signature56b86b2 -
Upload folder using huggingface_hub
Verified signaturea991a7b -
Upload folder using huggingface_hub
Verified signaturec299673 -
Upload folder using huggingface_hub
Verified signature94340d5 -
Upload folder using huggingface_hub
Verified signaturefebfbf4 -
Upload folder using huggingface_hub
Verified signature813170d -
Upload folder using huggingface_hub
Verified signature898be2d -
Upload folder using huggingface_hub
Verified signature55ad94a -
Upload folder using huggingface_hub
Verified signature62e6f65 -
Upload folder using huggingface_hub
Verified signaturefd6f9ce -
Upload folder using huggingface_hub
Verified signaturec3507a8 -
Upload folder using huggingface_hub
Verified signaturef932444 -
Upload folder using huggingface_hub
Verified signature8d375d0 -
Upload folder using huggingface_hub
Verified signature56009ea -
Upload folder using huggingface_hub
Verified signature3c81d3e -
Upload folder using huggingface_hub
Verified signature4bdfbdb -
Upload folder using huggingface_hub
Verified signature28516b9