Files
PurpleLlama/Llama-Guard
Yue Li dc094f0818 manually merge purplellama github with intern
Summary:
There were 2 PRs that were merged to purplellama but failed to syncup back to internal.

Now they have diverged. This diff manually merged the 2 versions

Reviewed By: SimonWan

Differential Revision: D56281518

fbshipit-source-id: 0b47c5a0b0a2689aa79ac73b33fcc26a634b08c7
2024-04-17 19:00:21 -07:00
..
2023-12-06 14:31:52 -08:00
2023-12-08 07:59:30 -08:00
2023-12-06 17:37:15 -08:00
2023-12-06 14:31:52 -08:00

Llama Guard

Llama Guard is a new experimental model that provides input and output guardrails for LLM deployments.

Download

In order to download the model weights and tokenizer, please visit the Meta website and accept our License.

Once your request is approved, you will receive a signed URL over email. Then run the download.sh script, passing the URL provided when prompted to start the download.

Pre-requisites: Make sure you have wget and md5sum installed. Then to run the script: ./download.sh.

Keep in mind that the links expire after 24 hours and a certain amount of downloads. If you start seeing errors such as 403: Forbidden, you can always re-request a link.

Quick Start

Since Llama Guard is a fine-tuned Llama-7B model (see our model card for more information), the same quick start steps outlined in our README file for Llama2 apply here.

In addition to that, we added examples using Llama Guard in the Llama 2 recipes repository.

Issues

Please report any software bug, or other problems with the models through one of the following means:

License

Our model and weights are licensed for both researchers and commercial entities, upholding the principles of openness. Our mission is to empower individuals, and industry through this opportunity, while fostering an environment of discovery and ethical AI advancements.

The same license as Llama 2 applies: see the LICENSE file, as well as our accompanying Acceptable Use Policy.

References

Research Paper