Starcoder2 7B by bigcode

 »  All LLMs  »  bigcode  »  Starcoder2 7B   URL Share it on

Starcoder2 7B is an open-source language model by bigcode. Features: 7b LLM, VRAM: 14.4GB, Context: 16K, License: bigcode-openrail-m, LLM Explorer Score: 0.23, Arc: 38.3, HellaSwag: 51.9, MMLU: 41.2, GSM8K: 25.1, HumanEval: 34.1.

  Arxiv:2004.05150   Arxiv:2205.14135   Arxiv:2207.14255   Arxiv:2305.13245   Arxiv:2402.19173   Code Dataset:bigcode/the-stack-v2-t...   Deploy:azure   Endpoints compatible   Model-index   Region:us   Safetensors   Sharded   Starcoder2   Tensorflow

Starcoder2 7B Benchmarks

Starcoder2 7B Parameters and Internals

Model Type 
text generation
Use Cases 
Areas:
research, commercial applications
Applications:
software development, educational tools
Primary Use Cases:
code generation, automated coding assistance
Limitations:
Not guaranteed to generate functioning code, Might contain inefficiencies or bugs
Additional Notes 
Model is not an instruction model and may not perform well with explicit commands like writing a square root computation.
Supported Languages 
EN (High), multi-language (Limited)
Training Details 
Data Sources:
GitHub code, Arxiv, Wikipedia
Data Volume:
3.5+ trillion tokens
Methodology:
Grouped Query Attention, a context window of 16,384 tokens, sliding window attention of 4,096 tokens, Fill-in-the-Middle objective
Hardware Used:
432 H100 GPUs
Model Architecture:
Transformer decoder with grouped-query and sliding window attention and Fill-in-the-Middle objective
Input Output 
Accepted Modalities:
text
LLM NameStarcoder2 7B
Repository 🤗https://huggingface.co/bigcode/starcoder2-7b 
Model Size7b
Required VRAM14.4 GB
Updated2026-05-07
Maintainerbigcode
Model Typestarcoder2
Model Files  4.9 GB: 1-of-3   5.0 GB: 2-of-3   4.5 GB: 3-of-3
Model ArchitectureStarcoder2ForCausalLM
Licensebigcode-openrail-m
Context Length16384
Model Max Length16384
Transformers Version4.37.0.dev0
Tokenizer ClassGPT2Tokenizer
Vocabulary Size49152
Torch Data Typebfloat16
Activation Functiongelu

Quantized Models of the Starcoder2 7B

Model
Likes
Downloads
VRAM
Starcoder2 7B AWQ11014 GB
StarCoder2 7B GGUF2029692 GB

Best Alternatives to Starcoder2 7B

Best Alternatives
Context / RAM
Downloads
Likes
Dolphincoder Starcoder2 7B16K / 14.9 GB711
Starcoder2 7B Int4 Ov16K / 3.8 GB150
Jmg Starcoder2 7B 100K16K / 14.4 GB50
Dolphincoder Starcoder2 7B16K / 14.9 GB27811
Starcoder2 7B Instruct16K / 14.4 GB704
Speechless Starcoder2 7B16K / 14.4 GB94
OpenCodeInterpreter SC2 7B16K / 14.9 GB2914
Starcoder2 Chat16K / 28.8 GB132
...Starcoder2 7B Bnb 4bit Smashed16K / 4.4 GB60
Starcoder2 7B 4bit16K / 4.4 GB2742

Rank the Starcoder2 7B 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? 53972 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