idea-teacher
commited on
Commit
•
4bc4341
1
Parent(s):
567c463
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("IDEA-CCNL/Erlangshen-TCBert-1.
|
48 |
```
|
49 |
Stay tuned for more details on usage for sentence representation.
|
50 |
|
|
|
43 |
```python
|
44 |
from transformers import MegatronBertForMaskedLM, BertTokenizer
|
45 |
import torch
|
46 |
+
tokenizer=BertTokenizer.from_pretrained("IDEA-CCNL/Erlangshen-TCBert-1.3B-Sentence-Embedding-Chinese")
|
47 |
+
model=MegatronBertForMaskedLM.from_pretrained("IDEA-CCNL/Erlangshen-TCBert-1.3B-Sentence-Embedding-Chinese")
|
48 |
```
|
49 |
Stay tuned for more details on usage for sentence representation.
|
50 |
|