whatmodel.sh / Code Llama 34B Python
Code Llama 34B Python
↗ share
+ contribute
Code Llama 34B Python is an open-weights language model from Meta, released August 2023. Its published size is 33.74B parameters and a 16k-token context window. Licence: llama2.
Catalogue identity notes
Maker repo codellama/CodeLlama-34b-Python-hf @7daa5d7: licence tag llama2. 33,743,970,304 parameters from the Hugging Face safetensors metadata (dense, so active = total). Released 2023-08: month the maker's Hugging Face repo was created (createdAt 2023-08-24). Python-specialised Code Llama; not instruction-tuned. Ollama tags codellama:34b-python-q4_K_M, codellama:34b-python-q8_0 (sizes as listed on the tags page, observed 2026-09-29).
$ how it compares
The LLMs ranked either side of Code Llama 34B Python, out of 828 with a score, then more from Meta.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 604 | 41±2 | local | |||
| 605 | 41±1 | local | |||
| 606 | 41±1 | local | |||
| 607 | 41±1 | local | |||
| 608 | 41±1 | local | |||
| more from Meta | |||||
| 24 | 77±1 | api $2.00/M | |||
| 40 | 75±1 | api $2.00/M | |||
| 43 | 75±1 | api $2.00/M | |||
$ what it's good at
coding▁▁▁▃▆██▇▆▄▃▁ #354 of 458 · 77% of its score · 4 tests
Beats LFM2.5 8B-A1B, Qwen3-VL 2B Thinking, DeepSeek R1 Distill Qwen 7B here, though they rank higher overall. Trails Phi-3-mini-128k-instruct (Apr 2024), Code Tulu 2 13B, DeepSeek LLM 67B Chat here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| HumanEval +1 | 52.4% ✎ | ▁█▄▅▇█·▄▇▅▄▄ beats 24/42 | 62% |
| MBPP lab | 56.2% ✎ | ▃▃▃█··▃▅··▅▃ beats 7/11 | 10% |
| CRUXEval-I lab | 43.9% ✎ | ▁··▁▅▂█▇▁··▁ beats 16/22 | 3.1% |
| CRUXEval-O lab | 41.4% ✎ | ▁·▂▃▁█▁▂···▁ beats 14/22 | 2.9% |
other tests1 not in a task · 22% of its score
| test | result | vs the others in its run | counts |
|---|---|---|---|
| EvoEval (overall) | 32.2% ✎ | ▂▂▃▄▄█▁▄▅▃▁▃ beats 18/42 | 22% |
$ where to run it
llama.cpp · recommended
version
- Install llama.cpp · Homebrew and winget installs name the commands llama-cli and llama-server instead.macOS / Linux
curl -LsSf https://llama.app/install.sh | shWindowsirm https://llama.app/install.ps1 | iex - Run Code Llama 34B Python · needs ~20.2 GB · from huggingface.co/mradermacherchat in the terminal
llama cli -hf mradermacher/CodeLlama-34b-Python-hf-GGUF:Q4_K_M - Or start a local server and open the address it prints (http://localhost:9931)
llama serve -hf mradermacher/CodeLlama-34b-Python-hf-GGUF:Q4_K_M
LM Studio
version
- Install LM Studio · Open the app once before using the lms command.
- Run Code Llama 34B Python · needs ~20.2 GB · from huggingface.co/mradermacher
- Or download it in the terminal
lms get https://huggingface.co/mradermacher/CodeLlama-34b-Python-hf-GGUF@Q4_K_M -y - Then run lms ls to see its name, and lms chat followed by that name
Ollama
version
- Install Ollama
download it (macOS / Windows) ↗
Linuxcurl -fsSL https://ollama.com/install.sh | sh - Run Code Llama 34B Python · needs ~20 GB · from ollama.comchat in the terminal
ollama run codellama:34b-python-q4_K_M
Weights and documentation: huggingface.co/codellama ↗
$ how the score was worked out · Top Leaderboard Ranking = Top… 62%, Code Llama: Open Foundation M… 31%, CRUXEval published evaluation… 6%
Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works
| source | results | share of the score |
|---|---|---|
| 2 | 62% | |
| 2 | 31% | |
| 2 | 6% | |
| prior · pull toward the middle | 0% | |
| weighted average | = 41.0 |
$ improve this page
Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.
data updated · sources and licences · json