Key Specifications
| Vendor | meta |
|---|
| Version | guard-2-8b |
|---|
| Release Date | 2024-04-18 |
|---|
| Context Window | 8192 tokens |
|---|
| Input Modalities | text |
|---|
| Output Modalities | text |
|---|
| License | Llama 3 Community License |
|---|
| Documentation | https://llama.meta.com/docs/ |
|---|
Benchmark Performance
| Benchmark | Score | Unit | Evaluated At | Notes | Source |
|---|
| MMLU | 51 | % | 2024-04-18 | 5-shot | view |
| HUMANEVAL | 26.6 | pass@1 | 2024-04-18 | — | view |
| GSM8K | 46.3 | % | 2024-04-18 | 0-shot CoT | view |
| MATH | 26.3 | % | 2024-04-18 | 0-shot CoT | view |
| BBH | 47.6 | % | 2024-04-18 | 3-shot CoT | view |
| GPQA | 18 | % | 2024-04-18 | 0-shot | view |
| IFEVAL | 51.6 | % | 2024-04-18 | prompt_strict | view |
| ARC | 76.3 | % | 2024-04-18 | challenge | view |
| MUSR | 34.9 | % | 2024-04-18 | 0-shot | view |
| WINOGRANDE | 66.5 | % | 2024-04-18 | 0-shot | view |
Pricing
| Tier | Price | Currency |
|---|
| Input | $0.18 / Mtok | USD |
| Output | $0.18 / Mtok | USD |
| Cache Read | $0 / Mtok | USD |
| Cache Write | $0 / Mtok | USD |
Source:
https://ai.meta.com/blog/
· as of 2024-04-18
Compliance
- Data Residency: self-host
- SOC2: ✗
- HIPAA: ✗
- GDPR: ✗
- ISO 27001: ✗
Llama Guard 2 8B
Descripción del modelo
Meta Llama Guard 2 8B 内容安全分类模型, 8K 上下文, 用于检测输入输出中的有害内容。
Especificaciones principales
| Proveedor | Versión | Fecha de lanzamiento | Ventana de contexto | Modalidades de entrada | Modalidades de salida | Licencia |
|---|
| Meta | guard-2-8b | 2024-04-18 | 8K | text | text | Llama 3 Community License |
Rendimiento en benchmarks
| Benchmark | Puntuación | Unidad | Notas |
|---|
| MMLU (Massive Multitask Language Understanding) | 51.0 | % | 5-shot |
| HumanEval | 26.6 | pass@1 | — |
| GSM8K (Grade School Math 8K) | 46.3 | % | 0-shot CoT |
| MATH | 26.3 | % | 0-shot CoT |
| BBH (BIG-Bench Hard) | 47.6 | % | 3-shot CoT |
| GPQA | 18.0 | % | 0-shot |
| IFEval | 51.6 | % | prompt_strict |
| ARC | 76.3 | % | challenge |
| MUSR | 34.9 | % | 0-shot |
| WinoGrande | 66.5 | % | 0-shot |
Precios
| Entrada | Salida | Lectura caché | Escritura caché |
|---|
| — | — | — | — |
por millón de tokens
Fortalezas
Debilidades
- MMLU 仅 51.0,知识推理偏弱。
- HumanEval 26.6,代码能力较弱。
- 闭源专有模型,不支持自托管。
- 上下文窗口 8K 偏小。
Casos de uso
Referencias