Local Models
Collection
16 items • Updated • 1
Codestral-22B-v0.1 is trained on a diverse dataset of 80+ programming languages, including the most popular ones, such as Python, Java, C, C++, JavaScript, and Bash
| No | Variant | Cortex CLI command |
|---|---|---|
| 1 | Codestral-22b | cortex run codestral:22b |
cortexhub/codestral
cortex run codestral
2-bit
3-bit
4-bit
5-bit
6-bit
8-bit
Install from pip and serve model
# Install vLLM from pip: pip install vllm# Start the vLLM server: vllm serve "cortexso/codestral"# Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cortexso/codestral", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'