Add library name and link to other models
Browse filesThis PR adds the `library_name` to the model card, ensuring people can use the "how to use" button on the top right.
It also adds links to the other ChineseGuard models in the Inference section.
README.md
CHANGED
|
@@ -1,13 +1,15 @@
|
|
| 1 |
---
|
| 2 |
-
license: cc-by-nc-4.0
|
| 3 |
-
language:
|
| 4 |
-
- zh
|
| 5 |
base_model:
|
| 6 |
- Qwen/Qwen2.5-1.5B-Instruct
|
| 7 |
-
pipeline_tag: text-classification
|
| 8 |
datasets:
|
| 9 |
- zjunlp/ChineseHarm-bench
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
|
|
|
| 11 |
## 🚀Installation
|
| 12 |
|
| 13 |
1. Clone the repositories:
|
|
@@ -29,6 +31,10 @@ datasets:
|
|
| 29 |
|
| 30 |
We release the following variants of our harmful content detection model:
|
| 31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
🔹 Single Inference (Example)
|
| 33 |
|
| 34 |
Run single-input inference using the ChineseGuard-1.5B model:
|
|
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
| 2 |
base_model:
|
| 3 |
- Qwen/Qwen2.5-1.5B-Instruct
|
|
|
|
| 4 |
datasets:
|
| 5 |
- zjunlp/ChineseHarm-bench
|
| 6 |
+
language:
|
| 7 |
+
- zh
|
| 8 |
+
license: cc-by-nc-4.0
|
| 9 |
+
pipeline_tag: text-classification
|
| 10 |
+
library_name: transformers
|
| 11 |
---
|
| 12 |
+
|
| 13 |
## 🚀Installation
|
| 14 |
|
| 15 |
1. Clone the repositories:
|
|
|
|
| 31 |
|
| 32 |
We release the following variants of our harmful content detection model:
|
| 33 |
|
| 34 |
+
- [**ChineseGuard-1.5B**](https://huggingface.co/zjunlp/ChineseGuard-1.5B)
|
| 35 |
+
- [**ChineseGuard-3B**](https://huggingface.co/zjunlp/ChineseGuard-3B)
|
| 36 |
+
- [**ChineseGuard-7B**](https://huggingface.co/zjunlp/ChineseGuard-7B)
|
| 37 |
+
|
| 38 |
🔹 Single Inference (Example)
|
| 39 |
|
| 40 |
Run single-input inference using the ChineseGuard-1.5B model:
|