ajibawa-2023_python-code-33b needs about 33.2 GB of memory at Q4_K_M (a 19.6 GB file) with an 8K context window, so it fits on a 48 GB GPU. This repository has 12 quants, from 13.5 GB (Q2_K) to 34.6 GB (Q8_0).
Python-Code-33B fine‑tuned for code generation
Python-Code-33B is a 33 billion‑parameter Llama‑based model fine‑tuned on a large code dataset. It generates Python code with accompanying explanations. The model was trained on Azure A100 GPUs for 42 hours across three epochs.
Good at
- Python code generation
- Detailed code explanations
- Code‑centric conversations
Limits
- No vision support
- Requires large VRAM for high‑bit quantisations
- License is other, not open source
Best for
- Developers needing code snippets
- Educators teaching programming
- Automated code review tools
Who it’s for. This model is suited for developers, educators, and researchers who need a local LLM that can produce Python code and explanations. It is ideal for environments where GPU resources are available and a specialized code model is required.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| Q2_K | 13.5 GB | 17.3 GB | Too big | Get file → | |
| Q3_K_S | 14.1 GB | 17.8 GB | Too big | Get file → | |
| Q3_K_M | 15.8 GB | 19.5 GB | Too big | Get file → | |
| Q3_K_L | 17.3 GB | 21.1 GB | Too big | Get file → | |
| Q4_0 | 18.4 GB | 22.1 GB | Too big | Get file → | |
| Q4_K_S | 18.4 GB | 22.2 GB | Too big | Get file → | |
| Q4_K_M | 19.6 GB | 23.4 GB | Too big | Get file → | |
| Q5_0 | 22.4 GB | 26.2 GB | Too big | Get file → | |
| Q5_K_S | 22.4 GB | 26.2 GB | Too big | Get file → | |
| Q5_K_M | 23.0 GB | 26.8 GB | Too big | Get file → | |
| Q6_K | 26.7 GB | 30.5 GB | Too big | Get file → | |
| Q8_0 | 34.6 GB | 38.3 GB | Too big | Get file → |
For 8 GB VRAM, use Q2_K (13.5 GB file, ~27 GB RAM). For 12 GB VRAM, Q3_K_S (14.06 GB, ~28 GB RAM). For 16 GB VRAM, Q4_K_M (19.62 GB, ~33 GB RAM). Higher‑bit quants need more memory.
What GPU do you need for ajibawa-2023_python-code-33b?
These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.
- 4 GB VRAM: no quant fits at an 8K context.
- 6 GB VRAM: no quant fits at an 8K context.
- 8 GB VRAM: no quant fits at an 8K context.
- 12 GB VRAM: no quant fits at an 8K context.
- 16 GB VRAM: no quant fits at an 8K context.
- 24 GB VRAM: no quant fits at an 8K context.
- 32 GB VRAM: the best quant that fits is Q4_K_S (18.4 GB file, about 32.0 GB in use).
- 48 GB VRAM: the best quant that fits is Q6_K (26.7 GB file, about 40.3 GB in use).
Which ajibawa-2023_python-code-33b quant should you choose?
Q4_K_M is the usual starting point for ajibawa-2023_python-code-33b: it balances file size and quality well. Here it is a 19.6 GB file.
The Q8_0 file is 34.6 GB, about 1.8 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.
If memory is tight, the smallest file is Q2_K at 13.5 GB, with the quality trade-offs that come with fewer bits. Use it only when memory is very tight. Expect a clear drop in quality, which is usually worse on small models and easier to live with on large ones.
New to quant names? Read GGUF quantization explained.
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about ajibawa-2023_python-code-33b
How much VRAM does ajibawa-2023_python-code-33b need?
About 33.2 GB at Q4_K_M with an 8K context window. That is the 19.6 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.
Can I run ajibawa-2023_python-code-33b on an 8 GB GPU?
Not at an 8K context. The smallest file needs about 27.1 GB, so you would need a larger GPU or CPU offloading.
What is the file size of ajibawa-2023_python-code-33b GGUF?
It depends on the quant: Q2_K is 13.5 GB, Q3_K_S is 14.1 GB, Q3_K_M is 15.8 GB, Q3_K_L is 17.3 GB, Q4_0 is 18.4 GB, Q4_K_S is 18.4 GB and 6 more.
What context length does ajibawa-2023_python-code-33b support?
The GGUF header lists a trained context length of 2,048 tokens (2K). The KV cache grows with the context you use: about 13.1 GB at 8K and 3.3 GB at 2K.
Where can I download ajibawa-2023_python-code-33b GGUF?
The files are on Hugging Face in the TheBloke/Python-Code-33B-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.
What license does ajibawa-2023_python-code-33b use?
Hugging Face lists the license as other. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.
Can I run Python-Code-33B on 8 GB VRAM?
Use the Q2_K quantised model; it requires about 27 GB of RAM and 13.5 GB file size.
Does this model support image input?
No, the model has no vision capabilities.
What license applies to this model?
The model is released under an other license; check the repo for details.