we propose the general toxicity and bias evaluation framework TisEval,the first comprehensive and systematic evaluation of Chinese LLMs from the perspectives of toxicity and biased. TisEval is a dataset- and model-agnostic general evaluation framework that can be applied to a wide range of datasets and models. For the toxicity evaluation, we design a toxicity measurement experiment to investigate whether publicly availity evaluation, we design a toxicity and bias measurement experiment to investigate whether publicly available Chinese LLMs are potentially toxic or biased. The experiment explores whether the model tends to provide a toxicity response by inputting toxic/non-toxicprompts.
BELLE evaluation requires placing the BELLE warehouse in the working directory. For details, please see chat.py #21
https://github.com/LianjiaTech/BELLE
EVA https://github.com/thu-coai/EVA
pangu-alpha https://github.com/huawei-noah/Pretrained-Language-Model
Evaluations of other models can be viewed in the chat.py file
FIRST:choose the model which you wanna test
- python chat.py -m [model name]
SECOND:get the toxicity and bias result
- python metric.py
Our framework is very simple and flexible to operate,If you have any questions please contact the author, we hope you like our framework 😊
22 commits
Python
100.0%
we propose the general toxicity and bias evaluation framework TisEval,the first comprehensive and systematic evaluation of Chinese LLMs from the perspectives of toxicity and biased. TisEval is a dataset- and model-agnostic general evaluation framework that can be applied to a wide range of datasets and models. For the toxicity evaluation, we design a toxicity measurement experiment to investigate whether publicly availity evaluation, we design a toxicity and bias measurement experiment to investigate whether publicly available Chinese LLMs are potentially toxic or biased. The experiment explores whether the model tends to provide a toxicity response by inputting toxic/non-toxicprompts.
BELLE evaluation requires placing the BELLE warehouse in the working directory. For details, please see chat.py #21
https://github.com/LianjiaTech/BELLE
EVA https://github.com/thu-coai/EVA
pangu-alpha https://github.com/huawei-noah/Pretrained-Language-Model
Evaluations of other models can be viewed in the chat.py file
FIRST:choose the model which you wanna test
- python chat.py -m [model name]
SECOND:get the toxicity and bias result
- python metric.py
Our framework is very simple and flexible to operate,If you have any questions please contact the author, we hope you like our framework 😊
22 commits
Python
100.0%