Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,17 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
---
|
4 |
+
## 简介 Brief Introduction
|
5 |
+
1.1亿参数的ernie-1.0模型
|
6 |
+
|
7 |
+
## 模型信息 Released Model Information
|
8 |
+
当前发布的pytorch版本ERNIE-base,是从huggingface下载并修复vocab和config对不上的问题。
|
9 |
+
|
10 |
+
This released pytorch model is downloading from huggingface, then fixed the vocab and config not matching issue.
|
11 |
+
|
12 |
+
## 使用 Usage
|
13 |
+
```python
|
14 |
+
from transformers import AutoTokenizer, AutoModel
|
15 |
+
tokenizer=AutoTokenizer.from_pretrained("xiaoqin/ernie-1.0-base-zh")
|
16 |
+
model=AutoModel.from_pretrained("xiaoqin/ernie-1.0-base-zh")
|
17 |
+
```
|