ernie-1.0-base-zh / README.md
xiaoqin's picture
Update README.md
6ca933a
|
raw
history blame contribute delete
No virus
588 Bytes
---
license: apache-2.0
---
## 简介 Brief Introduction
1.1亿参数的ernie-1.0模型
## 模型信息 Released Model Information
当前发布的pytorch版本ERNIE-base,是从huggingface下载并修复vocab和config对不上的问题。
This released pytorch model is downloading from huggingface, then fixed the vocab and config not matching issue.
## 使用 Usage
```python
from transformers import AutoModelForMaskedLM, AutoTokenizer
tokenizer=AutoTokenizer.from_pretrained("xiaoqin/ernie-1.0-base-zh")
model=AutoModelForMaskedLM.from_pretrained("xiaoqin/ernie-1.0-base-zh")
```