Skip to content
llmmodels

Llama 2-7B vs xgen-7b-8k-base

Llama 2-7B wins 2 of 2 benchmarks both models report.

SpecLlama 2-7Bxgen-7b-8k-base
ProviderMetaSalesforce
ReleasedJul 18, 2023 (better)Jun 28, 2023
TypeChat LLMChat LLM
Parameters6.7B7B
Context window——
Max output——
Input price / 1M——
Output price / 1M——
Input modalitiestexttext
Open weightsYesYes
Licensellama2apache-2.0
Reasoning modeNoNo
Tool callingNoNo
API providers——
Epoch Capabilities Index83.2—
MMLU45.8% (better)36.3%
GSM8K16.7%—
HellaSwag77.2% (better)74.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-8k-base

xgen-7b-8k-base is an open-weight chat llm from Salesforce, released Jun 28, 2023. It has 7B parameters. Full xgen-7b-8k-base specs →

Compare other models

FAQ

Which is better, Llama 2-7B or xgen-7b-8k-base?

Llama 2-7B wins 2 of 2 benchmarks both models report.

Are Llama 2-7B and xgen-7b-8k-base open source?

Llama 2-7B is open-weight; xgen-7b-8k-base is open-weight.