How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="certainstar/Trained-Chinese-classification")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("certainstar/Trained-Chinese-classification")
model = AutoModelForSequenceClassification.from_pretrained("certainstar/Trained-Chinese-classification")
Quick Links
  • 本模型采取 HC3的中文数据集bert-base-chinese 模型进行三轮训练得到结果。
  • 其作用是对文本是否为 GPT 生成进行分类,所得 Label 为0,则不为 GPT 生成,反之为1,则是。
Downloads last month
4
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train certainstar/Trained-Chinese-classification