Observed since 21 Oct, 10:15 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
An extension for using LLama Guard with aiconfig
LLama Guard is a 7b model released by Meta. This extension allows you to use it with AIConfig.
LLaMA Guard allows you to define your own “safety taxonomy” — custom policies to determine which interactions are safe vs. unsafe between humans (prompts) and AI models (responses). What makes this cool is that it allows you to enforce your own policies ON TOP of the standard guardrails that a model ships with (instead of merely overriding them).
[!NOTE] This extension also loads the entire model into memory.
pip3 install aiconfig_extension_llama_guard in terminalfrom aiconfig_extension_llama_guard import LLamageGuardParser
from aiconfig.registry import ModelParserRegistry
ModelParserRegistry.register_model_parser(LLamageGuard()). You can read the docstrings under ModelParserRegistry class for more info o nwhat this does.LLamageGuard model parser however you please. Check out our tutorial to get started (video walkthrough, Jupyter notebook) You can watch our video tutorial or check our Jupyter notebook tutoIf you are not developing this extension locally (just using the published extension), feel free to ignore this part
extensions/LLama-Guard/python and run this command: pip3 install -e . (this creates a local copy of the python module which is linked to this directory)pip3 uninstall aiconfig_extension_llama_guardDownload counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.0.3 | 28 Dec 2023 | 5 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 10:15 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:d0f18b62ac44cf30bad5f98013dd26a47f0a4866270588b171101bb24dcd6d6f