# Llama Guard 7B

> Llama-Guard is a 7B parameter Llama 2-based input-output safeguard model. It can be used for classifying content in both LLM inputs (prompt classification) and in LLM responses (response classification). It acts as an LLM: it generates text in its output that indicates whether a given prompt or response is safe/unsafe, and if unsafe based on a policy, it also lists the violating subcategories.

Provider: Meta · Type: LLM · State: Ready

model path: `accounts/fireworks/models/llamaguard-7b`

[Deploy on demand](https://app.fireworks.ai/dashboard/deployments/create?baseModel=accounts/fireworks/models/llamaguard-7b)

Llama-Guard is a 7B parameter Llama 2-based input-output safeguard model. It can be used for classifying content in both LLM inputs (prompt classification) and in LLM responses (response classification). It acts as an LLM: it generates text in its output that indicates whether a given prompt or response is safe/unsafe, and if unsafe based on a policy, it also lists the violating subcategories.

## Llama Guard 7B API Features

- **On-demand Deployment**: On-demand deployments allow you to use Llama Guard 7B on dedicated GPUs with Fireworks' high-performance serving stack with high reliability and no rate limits. · [Docs](https://docs.fireworks.ai/guides/ondemand-deployments)

## Metadata

- **State**: Ready
- **Created on**: 12 DEC, 2023
- **Kind**: Base model
- **Provider**: Meta
- **Huggingface**: [meta-llama/LlamaGuard-7b](https://huggingface.co/meta-llama/LlamaGuard-7b)

## Specifications

- **Calibrated**: No
- **Mixture-of-Experts**: No
- **Parameters**: 6.73B

## Supporting Functionality

- **Fine-tuning**: Not Supported
- **Serverless**: Not Supported
- **Context Length**: 4.09k tokens
- **Function Calling**: Not Supported
- **Embeddings**: Not Supported
- **Rerankers**: Not Supported
- **Supporting image input**: Not Supported
