0

Trust and Safety with Llama

The Purple Llama project provides tools and models to improve LLM security. This folder contains examples to get started with PurpleLlama tools.

Example · مثال

Content

Trust and Safety with Llama

The Purple Llama project provides tools and models to improve LLM security. This folder contains examples to get started with PurpleLlama tools.

| Tool/Model | Description | Get Started |---|---|---| Llama Guard | Provide guardrailing on inputs and outputs | [Inference](./llama_guard/llama_guard_text_and_vision_inference.ipynb), [Finetuning](./llama_guard/llama_guard_customization_via_prompting_and_fine_tuning.ipynb) Prompt Guard | Model to safeguards against jailbreak attempts and embedded prompt injections | [Notebook](./prompt_guard/prompt_guard_tutorial.ipynb) Code Shield | Tool to safeguard against insecure code generated by the LLM | Notebook

Source and license

Source
Meta Llama Cookbook
Original
meta-llama/llama-cookbook/getting-started/responsible_ai
License
MIT