commit from
Browse files
README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
---
|
| 2 |
-
language:
|
| 3 |
---
|
| 4 |
|
| 5 |
-
# ERNIE-Gram-
|
| 6 |
|
| 7 |
## Introduction
|
| 8 |
|
|
@@ -25,6 +25,6 @@ a series of experiments have been conducted to check the accuracy of the convers
|
|
| 25 |
## How to use
|
| 26 |
```Python
|
| 27 |
from transformers import AutoTokenizer, AutoModel
|
| 28 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
| 29 |
-
model = AutoModel.from_pretrained("
|
| 30 |
```
|
|
|
|
| 1 |
---
|
| 2 |
+
language: chinese
|
| 3 |
---
|
| 4 |
|
| 5 |
+
# ERNIE-Gram-chinese
|
| 6 |
|
| 7 |
## Introduction
|
| 8 |
|
|
|
|
| 25 |
## How to use
|
| 26 |
```Python
|
| 27 |
from transformers import AutoTokenizer, AutoModel
|
| 28 |
+
tokenizer = AutoTokenizer.from_pretrained("swtx/ernie-gram-chinese")
|
| 29 |
+
model = AutoModel.from_pretrained("swtx/ernie-gram-chinese")
|
| 30 |
```
|