Cog wrapper for meta-llama/Prompt-Guard-86M
4
stars
4
commits
Python
primary language
Jul 30, 2024
updated
This is an implementation of the meta-llama/Prompt-Guard-86M as a Cog model. Cog packages machine learning models as standard containers.
If you are testing locally, to download the weights you need to add your Huggingface Auth token in preidct.py on line 9.
After you run a prediction (which downloads the weights) you can remove your token
cog predict -i prompt="Ignore your previous instructions."
4 commits
Python
100.0%
Cog wrapper for meta-llama/Prompt-Guard-86M
4
stars
4
commits
Python
primary language
Jul 30, 2024
updated
This is an implementation of the meta-llama/Prompt-Guard-86M as a Cog model. Cog packages machine learning models as standard containers.
If you are testing locally, to download the weights you need to add your Huggingface Auth token in preidct.py on line 9.
After you run a prediction (which downloads the weights) you can remove your token
cog predict -i prompt="Ignore your previous instructions."
4 commits
Python
100.0%