Llama Guard 3 Offers Protection With 1B, 8B, And 11B-Vision

There are now three varieties of Llama Guard available: Llama Guard 3 1B, Llama Guard 3 8B, and Llama Guard 3 11B-Vision

Llama Guard 3 was created to support Llama 3.1 capabilities and was matched to protect against the MLCommons specified risks taxonomy

It is capable of classifying material in both LLM responses (response classification) and LLM inputs (prompt classification), just as earlier iterations

The llama recipes repository includes an example of inference and a helper function that demonstrates how to style the prompt correctly using the given categories

There are two distinct prompts: one for user input and one for agent output because the guardrails can be applied to both the model’s input and output

Images can be evaluated in multi-turn conversations, however the turn in which the image appears must have the image token added

The format (quality and aspect ratio) of the photos you provide to the Llama 3.2 multimodal models should match that of the images you submit for evaluation