C4AI Command-R is a 35 billion parameter, multilingual generative model optimized for various tasks.
Version: 4B GPU F32
You can quickly deploy c4ai-command-r-v01-4B
to an endpoint using our MAX container.
It includes the latest version of MAX with GPU support and our Python-based inference server called MAX Serve.
With the following Docker command, you’ll get an OpenAI-compatible endpoint running c4ai-command-r-v01-4B
:
docker run --gpus 1 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
--env "HF_HUB_ENABLE_HF_TRANSFER=1" \
--env "HF_TOKEN=" \
-p 8000:8000 \
docker.modular.com/modular/max-openai-api:nightly \
--huggingface-repo-id CohereForAI/c4ai-command-r-v01-4bit
In order to download the model from Hugging Face, you just need to fill in the
HF_TOKEN
value with your access token,
unless the model is from https://huggingface.co/modularai
.
For more information about the container image, see the MAX container documentation.
To learn more about how to deploy MAX to the cloud, check out our MAX Serve tutorials.
DETAILS
MAX GITHUB
Modular / MAX
MODEL
CohereForAI
CohereForAI/c4ai-command-r-v01-4bit
QUESTIONS ABOUT THIS MODEL?
Leave a comment
PROBLEMS WITH THE CODE?
File an Issue
TAGS
ENTERPRISES
@ Copyright - Modular Inc - 2025