Command-R
Command-R
Cohere Command-R is a series of enterprise-grade language models optimized for retrieval-augmented generation (RAG) and tool use. Command-R7B uses the updated Cohere2ForCausalLM architecture.
Available Models
- c4ai-command-r-v01: 35B
- c4ai-command-r-plus: 104B
- c4ai-command-r7b-12-2024: 7B (
Cohere2ForCausalLM)
Architectures
CohereForCausalLM— Command-R v01, PlusCohere2ForCausalLM— Command-R7B
Example HF Models
Example Recipes
Try with NeMo AutoModel
1. Install (full instructions):
2. Clone the repo to get the example recipes:
3. Run the recipe from inside the repo:
Run with Docker
1. Pull the container and mount a checkpoint directory:
2. Navigate to the AutoModel directory (where the recipes are):
3. Run the recipe:
See the Installation Guide and LLM Fine-Tuning Guide.
Fine-Tuning
See the LLM Fine-Tuning Guide.