Key Specifications

Vendormistral
Versioncodestral-mamba
Release Date2024-07-16
Context Window256000 tokens
Input Modalitiestext
Output Modalitiestext
LicenseApache 2.0
Documentationhttps://docs.mistral.ai/

Benchmark Performance

BenchmarkScoreUnitEvaluated AtNotesSource
MMLU59.3%2024-07-165-shotview
HUMANEVAL86.2pass@12024-07-16view
GSM8K67.8%2024-07-160-shot CoTview
MATH28.1%2024-07-160-shot CoTview
BBH66%2024-07-163-shot CoTview
GPQA36.3%2024-07-160-shotview
IFEVAL65.5%2024-07-16prompt_strictview
ARC87.4%2024-07-16challengeview
MUSR47%2024-07-160-shotview
WINOGRANDE74.1%2024-07-160-shotview

Pricing

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

Source: https://mistral.ai/technology/ · as of 2024-07-16

Compliance

  • Data Residency: EU
  • SOC2: ✓
  • HIPAA: ✗
  • GDPR: ✓
  • ISO 27001: ✓

Codestral Mamba

Tổng quan mô hình

Mistral Codestral Mamba 7B 代码模型, 256K 上下文, 基于 Mamba 架构, 线性时间复杂度适合长序列。

Thông số kỹ thuật cốt lõi

Nhà cung cấpPhiên bảnNgày phát hànhCửa sổ ngữ cảnhPhương thức đầu vàoPhương thức đầu raGiấy phép
Mistralcodestral-mamba2024-07-16256KtexttextApache 2.0

Hiệu suất benchmark

BenchmarkĐiểmĐơn vịGhi chú
MMLU (Massive Multitask Language Understanding)59.3%5-shot
HumanEval86.2pass@1
GSM8K (Grade School Math 8K)67.8%0-shot CoT
MATH28.1%0-shot CoT
BBH (BIG-Bench Hard)66.0%3-shot CoT
GPQA36.3%0-shot
IFEval65.5%prompt_strict
ARC87.4%challenge
MUSR47.0%0-shot
WinoGrande74.1%0-shot

Giá

Đầu vàoĐầu raĐọc bộ nhớ đệmGhi bộ nhớ đệm

mỗi triệu token

Điểm mạnh

  • HumanEval 86.2, excellent code generation.
  • 上下文窗口 256K,支持长文本。

Điểm yếu

  • MMLU 仅 59.3,知识推理偏弱。
  • 闭源专有模型,不支持自托管。

Trường hợp sử dụng

  • 代码生成与调试
  • 长文档摘要

Tham chiếu