Downloads · 30 days
59
10% of all-time downloads
WangZeJun/gpt2-chinese-ai-text-classifier
gpt2-chinese-ai-text-classifier is a machine learning model from WangZeJun. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
使用 uer/gpt2-chinese-cluecorpussmall 作为基座模型,基于 Hello-SimpleAI/HC3-Chinese 数据集训练得到的 AI 文本分类器。
Downloads · 30 days
59
10% of all-time downloads
All-time downloads
590
Public
Repo size
843 MB
Likes
0
Public
Click a slice to open those files.
.bin421 MB · 100%
From the Hugging Face model README
使用 uer/gpt2-chinese-cluecorpussmall 作为基座模型,基于 Hello-SimpleAI/HC3-Chinese 数据集训练得到的 AI 文本分类器。
gradio==3.50.0
easytokenizer
transformers
安装 easytokenizer:
pip install git+https://github.com/zejunwang1/easytokenizer
启动 demo:
python gradio_demo.py --model gpt2-chinese-ai-text-classifier/ --port 9000
打开 http://[server_ip]:9000/,查看效果:

