Starcoder2 7B 4bit by mlx-community

 »  All LLMs  »  mlx-community  »  Starcoder2 7B 4bit   URL Share it on

Starcoder2 7B 4bit is an open-source language model by mlx-community. Features: 7b LLM, VRAM: 4.4GB, Context: 16K, License: bigcode-openrail-m, Quantized, LLM Explorer Score: 0.12.

  4bit   Code Dataset:bigcode/the-stack-v2-t...   Endpoints compatible   Mlx   Model-index   Quantized   Region:us   Safetensors   Starcoder2

Starcoder2 7B 4bit Benchmarks

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

Starcoder2 7B 4bit Parameters and Internals

Model Type 
text generation
Additional Notes 
This model was converted to MLX format from bigcode/starcoder2-7b.
LLM NameStarcoder2 7B 4bit
Repository 🤗https://huggingface.co/mlx-community/starcoder2-7b-4bit 
Model Size7b
Required VRAM4.4 GB
Updated2026-05-24
Maintainermlx-community
Model Typestarcoder2
Model Files  4.4 GB
Quantization Type4bit
Model ArchitectureStarcoder2ForCausalLM
Licensebigcode-openrail-m
Context Length16384
Model Max Length16384
Transformers Version4.39.0.dev0
Vocabulary Size49152
Torch Data Typebfloat16
Activation Functiongelu

Best Alternatives to Starcoder2 7B 4bit

Best Alternatives
Context / RAM
Downloads
Likes
...Starcoder2 7B Bnb 4bit Smashed16K / 4.4 GB60
Starcoder2 7B16K / 14.4 GB14467215
Starcoder2 7B AWQ16K / 4.5 GB1011
Dolphincoder Starcoder2 7B16K / 14.9 GB711
StarCoder2 7B GGUF16K / 2.7 GB296920
Starcoder2 7B Int4 Ov16K / 3.8 GB150
Jmg Starcoder2 7B 100K16K / 14.4 GB50
Dolphincoder Starcoder2 7B16K / 14.9 GB27811
Starcoder2 7B GPTQ16K / 4.5 GB682
Starcoder2 7B Instruct GPTQ16K / 4.5 GB102
Note: green Score (e.g. "73.2") means that the model is better than mlx-community/starcoder2-7b-4bit.

Rank the Starcoder2 7B 4bit 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? 53999 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