LLM EXPLORER 56,604 MODELS INDEXED

CodeLlama 7B Python 4bit MLX by mlx-community

By mlx-community · 235 downloads

CodeLlama 7B Python 4bit MLX is an open-source language model by mlx-community. Features: 7b LLM, VRAM: 4GB, Context: 16K, License: llama2, Quantized, Code Generating, LLM Explorer Score: 0.11.

  4bit   Code   Codegen   Llama   Llama2   Mlx   Quantized   Region:us

CodeLlama 7B Python 4bit MLX Parameters and Internals

Model Type 
text generation
Additional Notes 
This model was converted to MLX format
Supported Languages 
Python (high proficiency)
Input Output 
Input Format:
[INST] <> '<PROMPT_HERE>' <> [/INST]
Accepted Modalities:
text
Output Format:
text
Performance Tips:
For detailed verbosity, set `verbose=True` while generating text.
LLM NameCodeLlama 7B Python 4bit MLX
Repository πŸ€—https://huggingface.co/mlx-community/CodeLlama-7b-Python-4bit-MLX 
Model Size7b
Required VRAM4 GB
Updated2026-07-04
Maintainermlx-community
Model Typellama
Model Files  4.0 GB
Supported Languagescode
Quantization Type4bit
Generates CodeYes
Model ArchitectureLlamaForCausalLM
Licensellama2
Context Length16384
Model Max Length16384
Transformers Version4.36.2
Vocabulary Size32000
Torch Data Typebfloat16

Best Alternatives to CodeLlama 7B Python 4bit MLX

Best Alternatives
Context / RAM
Downloads
Likes
CodeLlama 7B Java 16bit16K / 13.5 GB100
Codellama 7B Bnb 4bit16K / 3.9 GB36959
...ruct Solidity Bnb 4bit Smashed16K / 4.2 GB60
...lama 7B Tofuagent Contpretrain16K / 13.5 GB60
...B Instruct Hf Bnb 4bit Smashed16K / 4.2 GB60
CodeLlama 7B Python Onnx Fp1616K /  GB51
CodelLama7B Inst DPO 7K Mlx16K / 4.2 GB494
...eLlama 7B Instruct Hf 4bit MLX16K / 4.2 GB843
...pMagic Coder 7B 8.0bpw H8 EXL216K / 6.9 GB31
CodeLlama 7B Fp1616K / 13.5 GB147
Note: green Score (e.g. "73.2") means that the model is better than mlx-community/CodeLlama-7b-Python-4bit-MLX.