Skip to content
llmmodels

Llama 2-7B vs XGen-7B

Llama 2-7B wins 1 of 1 benchmarks both models report and has a higher Epoch Capabilities Index (83.2 vs 70.3).

SpecLlama 2-7BXGen-7B
ProviderMetaSalesforce
ReleasedJul 18, 2023Sep 7, 2023 (better)
TypeChat LLMChat LLM
Parameters6.7B6.7B
Context window——
Max output——
Input price / 1M——
Output price / 1M——
Input modalitiestexttext
Open weightsYesYes
Licensellama2Open (permissive)
Reasoning modeNoNo
Tool callingNoNo
API providers——
Epoch Capabilities Index83.2 (better)70.3
MMLU45.8%—
GSM8K16.7%—
HellaSwag77.2%—

About Llama 2-7B

Llama 2-7B is an open-weight chat llm from Meta, released Jul 18, 2023. It has 6.7B parameters. It scores 83.2 on the Epoch Capabilities Index. Full Llama 2-7B specs →

About XGen-7B

XGen-7B is an open-weight chat llm from Salesforce, released Sep 7, 2023. It has 6.7B parameters. It scores 70.3 on the Epoch Capabilities Index. Full XGen-7B specs →

Compare other models

FAQ

Which is better, Llama 2-7B or XGen-7B?

Llama 2-7B wins 1 of 1 benchmarks both models report and has a higher Epoch Capabilities Index (83.2 vs 70.3).

Are Llama 2-7B and XGen-7B open source?

Llama 2-7B is open-weight; XGen-7B is open-weight.