Downloads · 30 days
14
18% of all-time downloads
Anthonyg5005/Meta-Llama-Guard-2-8B-exl2
Meta-Llama-Guard-2-8B-exl2 is a text generation model from Anthonyg5005. Use it when you need the model to write or continue text. It is set up for ExLlamaV2. The card lists the license as other.
Llama Guard 2 8B is the moderation tuned llama3-8B model by Meta.\ Use this moderation model to protect your platform from unwanted generations.\ BF16 weights are recommended for optimal accuracy in production environ…
Downloads · 30 days
14
18% of all-time downloads
All-time downloads
78
Public
Repo size
37.8 GB
Likes
0
Public
Click a slice to open those files.
.json1.8 MB · 100%
From the Hugging Face model README
Llama Guard 2 8B is the moderation tuned llama3-8B model by Meta.
Use this moderation model to protect your platform from unwanted generations.
BF16 weights are recommended for optimal accuracy in production environments.
This model has the following harm categories:
3.0
4.0
5.0
6.0
6.5
8.0
measurement.json
use something like download-model.py to download with python requests.
Install requirements:
pip install requests tqdm
Example for downloading 8bpw:
python download-model.py Anthonyg5005/Meta-Llama-Guard-2-8B-exl2:8.0bpw
You may also use huggingface-cli
To install it, install python hf-hub
pip install huggingface-hub
Example for 8bpw:
huggingface-cli download Anthonyg5005/Meta-Llama-Guard-2-8B-exl2 --local-dir Llama-Guard-2-8B-exl2-8bpw --revision 8.0bpw
I would recommend the http downloaders over using git, they can resume downloads if failed and are much easier to work with.
Make sure to have git and git LFS installed.
Example for 8bpw download with git:
Have LFS file skip disabled
# windows
set GIT_LFS_SKIP_SMUDGE=0
# linux
export GIT_LFS_SKIP_SMUDGE=0
Clone repo branch
git clone https://huggingface.co/Anthonyg5005/Meta-Llama-Guard-2-8B-exl2 -b 8.0bpw