Downloads · 30 days
1.4K
1% of all-time downloads
thu-coai/ShieldLM-6B-chatglm3
ShieldLM-6B-chatglm3 is a feature extraction model from thu-coai. Use it when you need embeddings to search or compare text. It is set up for transformers. The card lists the license as mit.
The ShieldLM model (paper link) initialized from chatglm3-6b. ShieldLM is a bilingual (Chinese and English) safety detector that mainly aims to help to detect safety issues in LLMs' generations. It aligns with general…
Downloads · 30 days
1.4K
1% of all-time downloads
All-time downloads
164K
Public
Parameters
6.2B
12.5 GB on disk
Likes
4
Public
Click a slice to open those files.
.safetensors12.5 GB · 100%
From the Hugging Face model README
The ShieldLM model (paper link) initialized from chatglm3-6b. ShieldLM is a bilingual (Chinese and English) safety detector that mainly aims to help to detect safety issues in LLMs' generations. It aligns with general human safety standards, supports fine-grained customizable detection rules, and provides explanations for its decisions. Refer to our github repository for more detailed information.
Please refer to our github repository for the detailed usage instructions.
ShieldLM demonstrates impressive detection performance across 4 ID and OOD test sets, compared to strong baselines such as GPT-4, Llama Guard and Perspective API. Refer to our paper for more detailed evaluation results.