Will It Run AI

Mistral AIMistral AI

Codestral 22B

Atual
11.3KDownloads1.3KCurtidasMay 2024Publicado33K tokensContextoMNPLLicença27 InicialQualidade

Codestral 22B (22B parameters) requires approximately 17.7 GB of VRAM with Q4_K_M quantization. For the best balance of quality and speed, we recommend hardware with at least 21 GB of VRAM.

Comece agora

— copie e cole para rodar localmente

Copy-paste commands to run Codestral 22B on your machine.

Run

ollama run codestral

Quick specs

Parameters22B
Architecturedense
Context33K tokens
Modalitytext
Min RAM8.6 GB
Rec. RAM13.4 GB (Q4_K_M)
LicenseMNPL
FamilyCodestral

About this model

from mistral_common.tokens.tokenizers.mistral import MistralTokenizer from mistral_common.protocol.instruct.messages import UserMessage from mistral_common.protocol.instruct.request import ChatCompletionRequest

  • As instruct, for instance to answer any questions about a code snippet (write documentation, explain, factorize) or to generate code following...
  • As Fill in the Middle (FIM), to predict the middle tokens between a prefix and a suffix (very useful for software development add-ons like in VS Code)

Modelos relacionados

Seu hardware

Detectando...

Escolhas rápidas

Melhor hardware

Melhores opções para Codestral 22B

Rodar este modelo

Opções de quantização

Estimativas de VRAM por nível de quantização

No hardware detected — fit column shows raw VRAM estimates

QuantBitsVRAMQualityFit
Q2_K
2
8.6 GB
Low
Q3_K_S
3
10.8 GB
Low
NVFP4
4
12.3 GB
Medium
Q4_K_M
4
13.4 GB
Medium
Q5_K_M
5
15.8 GB
High
Q6_K
6
18.0 GB
High
Q8_0
8
23.5 GB
Very High
F16
16
45.1 GB
Maximum

Quality benchmarks

Codestral 22B benchmark scores

Benchmark verified

Coding

SWE-bench Verified
HumanEval+81.1%
Aider Polyglot
LiveCodeBench

Reasoning

MMLU-Pro24.0%
GPQA Diamond6.5%
MATH-50010.0%
ARC Challenge

General

Chatbot Arena
IFEval57.7%

Source: official · 2024-05-29

Compatibilidade de hardware

Estimativas de compatibilidade para todo o hardware

Abrir calculadora

Computing compatibility...

Detalhamento de memória

Reference: RTX 2060 6GB

Weights13.4 GB
KV Cache2.4 GB
Runtime1.2 GB
Headroom0.6 GB

Perguntas frequentes

FAQ — Codestral 22B

Veja também