Key Specifications

Vendorother
Versionstarcoder2-3b
Release Date2024-02-28
Context Window16384 tokens
Input Modalitiestext
Output Modalitiestext
LicenseBigCode Open Model License
Documentationhttps://huggingface.co/models

Benchmark Performance

BenchmarkScoreUnitEvaluated AtNotesSource
MMLU60.6%2024-02-285-shotview
HUMANEVAL82.1pass@12024-02-28view
GSM8K48.2%2024-02-280-shot CoTview
MATH37.4%2024-02-280-shot CoTview
BBH62.1%2024-02-283-shot CoTview
GPQA36.2%2024-02-280-shotview
IFEVAL55.2%2024-02-28prompt_strictview
ARC87.5%2024-02-28challengeview
MUSR38.4%2024-02-280-shotview
WINOGRANDE76.9%2024-02-280-shotview

Pricing

TierPriceCurrency
Input$0.12 / MtokUSD
Output$0.12 / MtokUSD
Cache Read$0 / MtokUSD
Cache Write$0 / MtokUSD

Source: https://huggingface.co/models · as of 2024-02-28

Compliance

  • Data Residency: self-host
  • SOC2: ✗
  • HIPAA: ✗
  • GDPR: ✗
  • ISO 27001: ✗

StarCoder2 3B

모델 개요

BigCode StarCoder2 3B 轻量代码模型, 16K 上下文, 3B 参数, 适合边缘设备代码补全任务。

핵심 사양

공급업체버전출시일컨텍스트 창입력 모달리티출력 모달리티라이선스
Otherstarcoder2-3b2024-02-2816KtexttextBigCode Open Model License

벤치마크 성능

벤치마크점수단위비고
MMLU (Massive Multitask Language Understanding)60.6%5-shot
HumanEval82.1pass@1
GSM8K (Grade School Math 8K)48.2%0-shot CoT
MATH37.4%0-shot CoT
BBH (BIG-Bench Hard)62.1%3-shot CoT
GPQA36.2%0-shot
IFEval55.2%prompt_strict
ARC87.5%challenge
MUSR38.4%0-shot
WinoGrande76.9%0-shot

가격

입력출력캐시 읽기캐시 쓰기

백만 토큰당

강점

  • HumanEval 82.1, excellent code generation.

약점

  • 闭源专有模型,不支持自托管。
  • 上下文窗口 16K 偏小。

사용 사례

  • 代码生成与调试

참고문헌