Add library_name tag and Github repository link
Browse filesThis PR adds the `library_name` (transformers) to the metadata of the model card. Besides that, it also adds a link to the Github repository.
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-7B-Instruct
|
| 7 |
-
pipeline_tag: text-classification
|
| 8 |
datasets:
|
| 9 |
- zjunlp/ChineseHarm-bench
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
---
|
|
|
|
| 11 |
## 🚀Installation
|
| 12 |
|
| 13 |
1. Clone the repositories:
|
|
@@ -49,7 +51,7 @@ To run inference on the entire ChineseHarm-Bench using ChineseGuard-7B and 8 NPU
|
|
| 49 |
|
| 50 |
```
|
| 51 |
SCRIPT_PATH="../infer/batch_infer.py"
|
| 52 |
-
model_name="zjunlp/
|
| 53 |
file_name="../benchmark/bench.json"
|
| 54 |
output_file="../benchmark/bench_ChineseHarm-7B.json"
|
| 55 |
|
|
@@ -79,4 +81,6 @@ Please cite our repository if you use ChineseGuard in your work. Thanks!
|
|
| 79 |
primaryClass={cs.CL},
|
| 80 |
url={https://arxiv.org/abs/2506.10960},
|
| 81 |
}
|
| 82 |
-
```
|
|
|
|
|
|
|
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
| 2 |
base_model:
|
| 3 |
- Qwen/Qwen2.5-7B-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:
|
|
|
|
| 51 |
|
| 52 |
```
|
| 53 |
SCRIPT_PATH="../infer/batch_infer.py"
|
| 54 |
+
model_name="zjunlp/ChineseGuard-7B"
|
| 55 |
file_name="../benchmark/bench.json"
|
| 56 |
output_file="../benchmark/bench_ChineseHarm-7B.json"
|
| 57 |
|
|
|
|
| 81 |
primaryClass={cs.CL},
|
| 82 |
url={https://arxiv.org/abs/2506.10960},
|
| 83 |
}
|
| 84 |
+
```
|
| 85 |
+
|
| 86 |
+
Github repository: https://github.com/zjunlp/ChineseHarm-bench
|