Update README.md
Browse files
README.md
CHANGED
@@ -12,14 +12,14 @@ https://github.com/JunnYu/WoBERT_pytorch
|
|
12 |
|
13 |
## 安装(主要为了安装WoBertTokenizer)
|
14 |
```bash
|
15 |
-
pip install git+https://github.com/JunnYu/
|
16 |
```
|
17 |
|
18 |
## 使用
|
19 |
```python
|
20 |
import torch
|
21 |
from transformers import BertForMaskedLM as WoBertForMaskedLM
|
22 |
-
from
|
23 |
|
24 |
pretrained_model_or_path_list = [
|
25 |
"junnyu/wobert_chinese_plus_base", "junnyu/wobert_chinese_base"
|
|
|
12 |
|
13 |
## 安装(主要为了安装WoBertTokenizer)
|
14 |
```bash
|
15 |
+
pip install git+https://github.com/JunnYu/WoBERT_pytorch.git
|
16 |
```
|
17 |
|
18 |
## 使用
|
19 |
```python
|
20 |
import torch
|
21 |
from transformers import BertForMaskedLM as WoBertForMaskedLM
|
22 |
+
from wobert import WoBertTokenizer
|
23 |
|
24 |
pretrained_model_or_path_list = [
|
25 |
"junnyu/wobert_chinese_plus_base", "junnyu/wobert_chinese_base"
|