Key Specifications

SpecificationStarCoder2 15BCode Llama 34B
Vendorothermeta
Versionstarcoder2-15bcode-llama-34b
Release Date2024-02-282023-08-24
Context Window16384 tokens16000 tokens
Input Modalitiestexttext
Output Modalitiestexttext
LicenseBigCode Open Model LicenseLlama 2 Community License
SOC2
HIPAA
GDPR
ISO 27001

Benchmark Results

BenchmarkStarCoder2 15BCode Llama 34BWinner
ARC87.688.7Code Llama 34B
BBH62.859.1StarCoder2 15B
GPQA35.327StarCoder2 15B
GSM8K69.659.8StarCoder2 15B
HUMANEVAL73.571.7StarCoder2 15B
IFEVAL59.658.7StarCoder2 15B
MATH46.244.7StarCoder2 15B
MMLU60.674.5Code Llama 34B
MUSR51.744.9StarCoder2 15B
WINOGRANDE70.280Code Llama 34B

Pricing Comparison

Tier (per Mtok)StarCoder2 15BCode Llama 34B
Input$0.3$0.5
Output$0.3$0.5
Cache Read$0$0
Cache Write$0$0

StarCoder2 15B против Code Llama 34B

Обзор модели

StarCoder2 15B and Code Llama 34B are both notable options in the AI model market. This page compares their benchmarks, pricing, and compliance.

Ключевые характеристики

ПоставщикДата выпускаОкно контекстаЛицензия
Other / Meta2024-02-28 / 2023-08-2416K / 16KBigCode Open Model License / Llama 2 Community License

Производительность

БенчмаркStarCoder2 15BCode Llama 34BПобедитель
ARC87.688.7B
BBH (BIG-Bench Hard)62.859.1A
GPQA35.327.0A
GSM8K (Grade School Math 8K)69.659.8A
HumanEval73.571.7A
IFEval59.658.7A
MATH46.244.7A
MMLU (Massive Multitask Language Understanding)60.674.5B
MUSR51.744.9A
WinoGrande70.280.0B

Сравнение цен

ВходВыходЧтение кэшаЗапись кэша
— / —— / —— / —— / —

за миллион токенов — A / B

Сильные стороны & Слабые стороны

StarCoder2 15B

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

Code Llama 34B

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

Мнение редактора

StarCoder2 15B and Code Llama 34B each have their strengths. Choose based on workload (code, long context, vision), referencing the tables above.

ЧЗВ

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.

Ссылки

Editor's Take

See Editor's Take section.