Skip to content
llmmodels

CodeGen2.5 vs LLaMA-7B

CodeGen2.5 is made by Salesforce and LLaMA-7B by Meta. See the full spec comparison below.

SpecCodeGen2.5LLaMA-7B
ProviderSalesforceMeta
ReleasedJul 6, 2023 (better)Feb 24, 2023
TypeCode modelCode model
Parameters7B6.7B
Context window——
Max output——
Input price / 1M——
Output price / 1M——
Input modalitiestexttext
Open weightsYesYes
LicenseOpen (permissive)Open (non-commercial)
Reasoning modeNoNo
Tool callingNoNo
API providers——
Epoch Capabilities Index—77.3
MMLU—35.6%
GSM8K—11.0%
HellaSwag—76.2%

About CodeGen2.5

CodeGen2.5 is an open-weight code model from Salesforce, released Jul 6, 2023. It has 7B parameters. Full CodeGen2.5 specs →

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 →

Compare other models

FAQ

Which is better, CodeGen2.5 or LLaMA-7B?

CodeGen2.5 is made by Salesforce and LLaMA-7B by Meta. See the full spec comparison below.

Are CodeGen2.5 and LLaMA-7B open source?

CodeGen2.5 is open-weight; LLaMA-7B is open-weight.