uer commited on
Commit
959fee5
·
1 Parent(s): 1eb83a7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -87,8 +87,8 @@ and in TensorFlow:
87
 
88
  ```python
89
  from transformers import BertTokenizer, TFBertModel
90
- tokenizer = BertTokenizer.from_pretrained('uer/chinese_roberta_L-4_H-512')
91
- model = TFBertModel.from_pretrained("uer/chinese_roberta_L-4_H-512")
92
  text = "用你喜欢的任何文本替换我。"
93
  encoded_input = tokenizer(text, return_tensors='tf')
94
  output = model(encoded_input)
 
87
 
88
  ```python
89
  from transformers import BertTokenizer, TFBertModel
90
+ tokenizer = BertTokenizer.from_pretrained('uer/chinese_roberta_L-8_H-512')
91
+ model = TFBertModel.from_pretrained("uer/chinese_roberta_L-8_H-512")
92
  text = "用你喜欢的任何文本替换我。"
93
  encoded_input = tokenizer(text, return_tensors='tf')
94
  output = model(encoded_input)