idea-teacher
commited on
Commit
•
c716269
1
Parent(s):
3518f82
Update README.md
Browse files
README.md
CHANGED
@@ -43,8 +43,8 @@ Stay tuned.
|
|
43 |
```python
|
44 |
from transformers import MegatronBertForMaskedLM, BertTokenizer
|
45 |
import torch
|
46 |
-
tokenizer=BertTokenizer.from_pretrained("IDEA-CCNL/Erlangshen-TCBert-1.
|
47 |
-
model=MegatronBertForMaskedLM.from_pretrained(
|
48 |
```
|
49 |
|
50 |
如果您在您的工作中使用了我们的模型,可以引用我们的[网站](https://github.com/IDEA-CCNL/Fengshenbang-LM/):
|
|
|
43 |
```python
|
44 |
from transformers import MegatronBertForMaskedLM, BertTokenizer
|
45 |
import torch
|
46 |
+
tokenizer=BertTokenizer.from_pretrained("IDEA-CCNL/Erlangshen-TCBert-1.3B-Classification-Chinese")
|
47 |
+
model=MegatronBertForMaskedLM.from_pretrained("IDEA-CCNL/Erlangshen-TCBert-1.3B-Classification-Chinese")
|
48 |
```
|
49 |
|
50 |
如果您在您的工作中使用了我们的模型,可以引用我们的[网站](https://github.com/IDEA-CCNL/Fengshenbang-LM/):
|