LLM EXPLORER 61,491 MODELS INDEXED

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

By mlx-community · 84 downloads

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

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

CodeLlama 7B Instruct Hf 4bit MLX Parameters and Internals

Model Type 
text-generation
Additional Notes 
This model was converted to MLX format.
LLM NameCodeLlama 7B Instruct Hf 4bit MLX
Repository πŸ€—https://huggingface.co/mlx-community/CodeLlama-7b-Instruct-hf-4bit-MLX 
Base Model(s)  ...deLlama 7B Instruct Hf 8bits Q   AAProject/CodeLlama-7b-Instruct-hf-8bits-Q
Model Size7b
Required VRAM4.2 GB
Updated2026-08-04
Maintainermlx-community
Model Typellama
Instruction-BasedYes
Model Files  4.2 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 7B Instruct Hf 4bit MLX

Best Alternatives
Context / RAM
Downloads
Likes
...ruct Solidity Bnb 4bit Smashed16K / 4.2 GB60
...B Instruct Hf Bnb 4bit Smashed16K / 4.2 GB60
CodelLama7B Inst DPO 7K Mlx16K / 4.2 GB494
...6.7B Instruct 8.0bpw H8 EXL2 216K / 6.8 GB72
...6.7B Instruct 3.0bpw H6 EXL2 216K / 2.8 GB81
... 7B Instruct Nf4 Fp16 Upscaled16K / 13.5 GB90
CodeLlama 7B Instruct Fp1616K / 13.5 GB247
...Llama 7B Instruct Bf16 Sharded16K / 13.5 GB291
...B Instruct V1.5 6.0bpw H6 EXL24K / 5.7 GB82
...B Instruct V1.5 8.0bpw H8 EXL24K / 7.3 GB81
Note: green Score (e.g. "73.2") means that the model is better than mlx-community/CodeLlama-7b-Instruct-hf-4bit-MLX.