---
title: ernie-3.0-xbase-zh
canonical_url: "https://www.modelscope.cn/models/tiansz/ernie-3.0-xbase-zh"
md_url: "https://www.modelscope.cn/models/tiansz/ernie-3.0-xbase-zh.md"
repository: tiansz/ernie-3.0-xbase-zh
last_updated: 2024-08-15
pipeline_tag: fill-mask
tasks:
  - fill-mask
model_type:
  - ernie
architectures:
  - ErnieForMaskedLM
library_name:
  - pytorch
frameworks:
  - Pytorch
downloads: 272
stars: 2
---

# ernie-3.0-xbase-zh

> ernie-3.0-xbase-zh - tiansz 在 ModelScope 开源的模型。您可以通过如下git clone命令，或者ModelScope SDK来下载模型

- **Repository**: tiansz/ernie-3.0-xbase-zh
- **Tasks**: fill-mask
- **Downloads**: 272
- **Stars**: 2
- **Last updated**: 2024-08-15

Source: https://www.modelscope.cn/models/tiansz/ernie-3.0-xbase-zh

---

### ernie-3.0-xbase-zh

#### 您可以通过如下git clone命令，或者ModelScope SDK来下载模型

SDK下载

```bash
#安装ModelScope
pip install modelscope
```

```python
#SDK模型下载
from modelscope import snapshot_download
model_dir = snapshot_download('tiansz/ernie-3.0-xbase-zh')
```

Git下载

```
#Git模型下载
git clone https://www.modelscope.cn/tiansz/ernie-3.0-xbase-zh.git
```

本模型是百度发布的预训练模型，同时本页面是 pytorch 版本的 ernie-3.0 模型，该模型转换是由 nghuyong 老兄实现，模型是从 [huggingface](https://huggingface.co/nghuyong/ernie-3.0-xbase-zh) 搬运过来的
