Key Specifications

SpecificationLlama 2 70BLlama 3 70B
Vendormetameta
Version2-70b3-70b
Release Date2023-07-182024-04-18
Context Window4096 tokens8192 tokens
Input Modalitiestexttext
Output Modalitiestexttext
LicenseLlama 2 Community LicenseLlama 3 Community License
SOC2
HIPAA
GDPR
ISO 27001

Benchmark Results

BenchmarkLlama 2 70BLlama 3 70BWinner
ARC80.393.4Llama 3 70B
BBH62.577.6Llama 3 70B
GPQA27.238.2Llama 3 70B
GSM8K51.876.2Llama 3 70B
HUMANEVAL50.673Llama 3 70B
IFEVAL57.172.2Llama 3 70B
MATH22.450.1Llama 3 70B
MMLU5379.5Llama 3 70B
MUSR36.151.2Llama 3 70B
WINOGRANDE73.479.2Llama 3 70B

Pricing Comparison

Tier (per Mtok)Llama 2 70BLlama 3 70B
Input$0.9$0.9
Output$0.9$0.9
Cache Read$0$0
Cache Write$0$0

Llama 2 70B mot Llama 3 70B

Modellöversikt

Llama 2 70B and Llama 3 70B are both notable options in the AI model market. This page compares their benchmarks, pricing, and compliance.

Nyckelspecifikationer

LeverantörReleasedatumKontextfönsterLicens
Meta / Meta2023-07-18 / 2024-04-184K / 8KLlama 2 Community License / Llama 3 Community License

Benchmarkprestanda

BenchmarkLlama 2 70BLlama 3 70BVinnare
ARC80.393.4B
BBH (BIG-Bench Hard)62.577.6B
GPQA27.238.2B
GSM8K (Grade School Math 8K)51.876.2B
HumanEval50.673.0B
IFEval57.172.2B
MATH22.450.1B
MMLU (Massive Multitask Language Understanding)53.079.5B
MUSR36.151.2B
WinoGrande73.479.2B

Prisjämförelse

InmatningUtmatningCacheläsningCacheskrivning
— / —— / —— / —— / —

per miljon tokens — A / B

Styrkor & Svagheter

Llama 2 70B

  • ✅ 可靠的通用模型。
  • ⚠️ MMLU 仅 53.0,知识推理偏弱。
  • ⚠️ 闭源专有模型,不支持自托管。
  • ⚠️ 上下文窗口 4K 偏小。

Llama 3 70B

  • ✅ 可靠的通用模型。
  • ⚠️ 闭源专有模型,不支持自托管。
  • ⚠️ 上下文窗口 8K 偏小。

Redaktörens åsikt

Llama 2 70B and Llama 3 70B each have their strengths. Choose based on workload (code, long context, vision), referencing the tables above.

Vanliga frågor

Which model is better for coding tasks?

Refer to the HumanEval benchmark table; the model with a higher score is better suited for coding tasks.

Which model is cheaper?

Refer to the pricing comparison table above; the model with lower input/output prices is more cost-effective.

Which has a longer context window?

Refer to the key specifications table; the model with a larger context window is better for long documents.

Referenser

Editor's Take

See Editor's Take section.