MLX

Cohere Command R v01 4bit

mlx-community

command-r

C4AI Command-R is a research release of a 35 billion parameter highly performant generative model

Model info

Model

Cohere Command R v01 4bit

Author

mlx-community

Arch

command-r

Parameters

35B

Format

safetensors

Size on disk

about 22.70 GB

Download and run Cohere Command R v01 4bit

Open in LM Studio to view download options

Download command-r from the terminal

Download the model using lms — LM Studio's developer CLI.

lms get command-r

Call command-r from your code

curl http://localhost:1234/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "command-r",
    "messages": [
      { "role": "system", "content": "Always answer in rhymes." },
      { "role": "user", "content": "Introduce yourself." }
    ],
    "temperature": 0.7,
    "max_tokens": -1,
    "stream": true
  }'

Next Steps: Build! 🔨

Learn more


lmmy