---
title: ai-text-detector
canonical_url: "https://www.modelscope.cn/models/patrick25/ai-text-detector"
md_url: "https://www.modelscope.cn/models/patrick25/ai-text-detector.md"
repository: patrick25/ai-text-detector
last_updated: 2025-07-30
license: "Apache License 2.0"
pipeline_tag: text-classification
tasks:
  - text-classification
model_type:
  - bert
architectures:
  - BertForSequenceClassification
base_model:
  - google-bert/bert-base-chinese
base_model_relation: finetune
parameters: 102.3M
tensor_type:
  - F32
library_name:
  - safetensors
  - pytorch
frameworks:
  - PyTorch
language:
  - zh
inference_backends:
  - "deploy_task emb"
  - "sglang 0.5.2"
  - "vllm 0.9.2"
downloads: 36
stars: 2
---

# ai-text-detector

> ai-text-detector - patrick25 在 ModelScope 开源的模型。模型介绍 这是一个基于bert的文本分类模型，用来识别哪些论文段落是AI生成的。使用10w条论文数据训练，准确率可以达到98%。

patrick25/ai-text-detector 是 ModelScope 魔搭社区上的 102.3M 参数text-classification模型，采用 Apache License 2.0 许可，基于 google-bert/bert-base-chinese 构建，可用 deploy_task emb、sglang 0.5.2、vllm 0.9.2 部署。

- **Repository**: patrick25/ai-text-detector
- **License**: Apache License 2.0
- **Tasks**: text-classification
- **Parameters**: 102.3M
- **Base model**: google-bert/bert-base-chinese
- **Inference backends**: deploy_task emb, sglang 0.5.2, vllm 0.9.2
- **Downloads**: 36
- **Stars**: 2
- **Last updated**: 2025-07-30

Source: https://www.modelscope.cn/models/patrick25/ai-text-detector

---

### 模型介绍
这是一个基于bert的文本分类模型，用来识别哪些论文段落是AI生成的。使用10w条论文数据训练，准确率可以达到98%。

局限性：通过文本分类模型来判断AI生成是比较初级的方法，泛化能力也比较差，这和训练数据的研究领域分布不均匀有关系。

如果这个模型对您有帮助可以留言交流。
#### 您可以通过如下git clone命令，或者ModelScope SDK来下载模型

SDK下载
```bash
#安装ModelScope
pip install modelscope
```
```python
#SDK模型下载
from modelscope import snapshot_download
model_dir = snapshot_download('patrick25/ai-text-detector')
```
Git下载
```
#Git模型下载
git clone https://www.modelscope.cn/patrick25/ai-text-detector.git
```

<p style="color: lightgrey;">如果您是本模型的贡献者，我们邀请您根据<a href="https://modelscope.cn/docs/ModelScope%E6%A8%A1%E5%9E%8B%E6%8E%A5%E5%85%A5%E6%B5%81%E7%A8%8B%E6%A6%82%E8%A7%88" style="color: lightgrey; text-decoration: underline;">模型贡献文档</a>，及时完善模型卡片内容。</p>
