Skip to content
llmmodels

LLaMA-7B vs StarCoder 2 3B

StarCoder 2 3B wins 2 of 3 benchmarks both models report and has a higher Epoch Capabilities Index (66.6 vs 77.3).

SpecLLaMA-7BStarCoder 2 3B
ProviderMetaNVIDIA
ReleasedFeb 24, 2023Feb 29, 2024 (better)
TypeCode modelCode model
Parameters6.7B3B
Context window——
Max output——
Input price / 1M——
Output price / 1M——
Input modalitiestexttext
Open weightsYesYes
LicenseOpen (non-commercial)Open (restricted)
Reasoning modeNoNo
Tool callingNoNo
API providers——
Epoch Capabilities Index77.3 (better)66.6
MMLU35.6%36.6% (better)
GSM8K11.0%21.6% (better)
HellaSwag76.2%—

About LLaMA-7B

LLaMA-7B is an open-weight code model from Meta, released Feb 24, 2023. It has 6.7B parameters. It scores 77.3 on the Epoch Capabilities Index. Full LLaMA-7B specs →

About StarCoder 2 3B

StarCoder 2 3B is an open-weight code model from NVIDIA, released Feb 29, 2024. It has 3B parameters. It scores 66.6 on the Epoch Capabilities Index. Full StarCoder 2 3B specs →

Compare other models

FAQ

Which is better, LLaMA-7B or StarCoder 2 3B?

StarCoder 2 3B wins 2 of 3 benchmarks both models report and has a higher Epoch Capabilities Index (66.6 vs 77.3).

Are LLaMA-7B and StarCoder 2 3B open source?

LLaMA-7B is open-weight; StarCoder 2 3B is open-weight.