CodeLlama 13B Instruct Hf 4bit MLX by mlx-community

 »  All LLMs  »  mlx-community  »  CodeLlama 13B Instruct Hf 4bit MLX   URL Share it on

CodeLlama 13B Instruct Hf 4bit MLX is an open-source language model by mlx-community. Features: 13b LLM, VRAM: 7.8GB, Context: 16K, License: llama2, Quantized, Instruction-Based, Code Generating, LLM Explorer Score: 0.12.

  4bit   Code   Codegen   Instruct   Llama   Llama2   Mlx   Quantized   Region:us

CodeLlama 13B Instruct Hf 4bit MLX Benchmarks

nn.n% — How the model compares to the reference models: Anthropic Sonnet 3.5 ("so35"), GPT-4o ("gpt4o") or GPT-4 ("gpt4").

CodeLlama 13B Instruct Hf 4bit MLX Parameters and Internals

Model Type 
text generation
Additional Notes 
This model was converted to MLX format from the original CodeLlama-13b-Instruct-hf model.
LLM NameCodeLlama 13B Instruct Hf 4bit MLX
Repository 🤗https://huggingface.co/mlx-community/CodeLlama-13b-Instruct-hf-4bit-MLX 
Model Size13b
Required VRAM7.8 GB
Updated2026-04-09
Maintainermlx-community
Model Typellama
Instruction-BasedYes
Model Files  7.8 GB
Supported Languagescode
Quantization Type4bit
Generates CodeYes
Model ArchitectureLlamaForCausalLM
Licensellama2
Context Length16384
Model Max Length16384
Transformers Version4.37.2
Vocabulary Size32016
Torch Data Typebfloat16

Best Alternatives to CodeLlama 13B Instruct Hf 4bit MLX

Best Alternatives
Context / RAM
Downloads
Likes
CodeLlama 13B Instruct Fp1616K / 26 GB90328
...13B Instruct Nf4 Fp16 Upscaled16K / 26 GB280
NexusRaven V2 13B16K / 26 GB80470
CodeLlama 13B Instruct Hf16K / 26 GB5282159
CodeLlama 13B MORepair16K / 26 GB122
CodeLlama 13B Instruct Hf16K / 26 GB23427
TableLLM 13B16K / 26 GB30632
CodeLlama 13B Instruct GGUF16K / 5.4 GB2862
CodeLlama 13B Instruct AWQ16K / 7.2 GB7009
NexusRaven 13B16K / 26 GB17105
Note: green Score (e.g. "73.2") means that the model is better than mlx-community/CodeLlama-13b-Instruct-hf-4bit-MLX.

Rank the CodeLlama 13B Instruct Hf 4bit MLX Capabilities

🆘 Have you tried this model? Rate its performance. This feedback would greatly assist ML community in identifying the most suitable model for their needs. Your contribution really does make a difference! 🌟

Instruction Following and Task Automation  
Factuality and Completeness of Knowledge  
Censorship and Alignment  
Data Analysis and Insight Generation  
Text Generation  
Text Summarization and Feature Extraction  
Code Generation  
Multi-Language Support and Translation  

What open-source LLMs or SLMs are you in search of? 53205 in total.

Our Social Media →  
Original data from HuggingFace, OpenCompass and various public git repos.
Check out Ag3ntum — our secure, self-hosted AI agent for server management.
Release v20260328a