Instructions to use certainstar/Trained-Chinese-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use certainstar/Trained-Chinese-classification with Transformers:
# 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") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -3,5 +3,5 @@ license: mit
|
|
| 3 |
---
|
| 4 |
|
| 5 |
|
| 6 |
-
- 本模型采取 `HC3的中文数据集` 对 `
|
| 7 |
- 其作用是对文本是否为 `GPT` 生成进行分类,所得 `Label` 为0,则不为 `GPT` 生成,反之为1,则是。
|
|
|
|
| 3 |
---
|
| 4 |
|
| 5 |
|
| 6 |
+
- 本模型采取 `HC3的中文数据集` 对 `bert-base-chinese` 模型进行三轮训练得到结果。
|
| 7 |
- 其作用是对文本是否为 `GPT` 生成进行分类,所得 `Label` 为0,则不为 `GPT` 生成,反之为1,则是。
|