Yi Coder 9B
by 01.AI · yi-coder family
9B
parameters
code-generation text-generation reasoning
Yi Coder 9B is 01.AI's code-specialized model featuring an impressive 128K context window, enabling it to process entire codebases and long documents in a single prompt. It delivers strong performance on code generation, completion, and understanding tasks across multiple programming languages. With its extended context length and compact 9B parameter count, Yi Coder strikes an excellent balance between capability and efficiency for local code assistance, making it particularly well-suited for tasks that require understanding large files or multi-file projects.
Quick Start with Ollama
ollama run 9b-q4_K_M Resources
Ollama
| Creator | 01.AI |
| Parameters | 9B |
| Architecture | transformer-decoder |
| Context | 128K tokens |
| Released | Sep 4, 2024 |
| License | Apache 2.0 |
| Ollama | yi-coder:9b |
Quantization Options
| Format | File Size | VRAM Required | Quality | Ollama Tag |
|---|---|---|---|---|
| Q4_K_M rec | 5.5 GB | 8 GB | | 9b-q4_K_M |
| Q8_0 | 9.5 GB | 12 GB | | 9b-q8_0 |
| F16 | 18 GB | 21 GB | | 9b-fp16 |
Compatible Hardware
Q4_K_M requires 8 GB VRAM
Benchmark Scores
58.0
mmlu