update
Browse files
README.md
CHANGED
@@ -36,14 +36,14 @@ The copyright of the datasets belongs to the Institute of Linguistics, Academia
|
|
36 |
AutoModel,
|
37 |
)
|
38 |
|
39 |
-
tokenizer = AutoTokenizer.from_pretrained("ckiplab/
|
40 |
-
model = AutoModel.from_pretrained("ckiplab/
|
41 |
```
|
42 |
|
43 |
* Using our model for inference
|
44 |
```python
|
45 |
>>> from transformers import pipeline
|
46 |
-
>>> unmasker = pipeline('fill-mask', model='ckiplab/
|
47 |
>>> unmasker("้ป[MASK]ๆผ่ฎๆ้ใ")
|
48 |
|
49 |
[{'sequence': '้ป ๆฐ ๆผ ่ฎ ๆ ้ ใ',
|
|
|
36 |
AutoModel,
|
37 |
)
|
38 |
|
39 |
+
tokenizer = AutoTokenizer.from_pretrained("ckiplab/bert-base-han-chinese")
|
40 |
+
model = AutoModel.from_pretrained("ckiplab/bert-base-han-chinese")
|
41 |
```
|
42 |
|
43 |
* Using our model for inference
|
44 |
```python
|
45 |
>>> from transformers import pipeline
|
46 |
+
>>> unmasker = pipeline('fill-mask', model='ckiplab/bert-base-han-chinese')
|
47 |
>>> unmasker("้ป[MASK]ๆผ่ฎๆ้ใ")
|
48 |
|
49 |
[{'sequence': '้ป ๆฐ ๆผ ่ฎ ๆ ้ ใ',
|