Skip to content
llmmodels

LLaMA-7B vs StarCoder 2 7B

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

SpecLLaMA-7BStarCoder 2 7B
ProviderMetaNVIDIA
ReleasedFeb 24, 2023Feb 29, 2024 (better)
TypeCode modelCode model
Parameters6.7B7B
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)72.4
MMLU35.6%38.8% (better)
GSM8K11.0%32.7% (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 7B

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

Compare other models

FAQ

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

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

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

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