Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…nto t53
  • Loading branch information
iverxin committed Oct 4, 2021
2 parents 0b840b6 + 7419d25 commit 89b070c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pip install --upgrade paddlenlp

### Transformer API: 强大的预训练模型生态底座

覆盖**15**个网络结构和**67**个预训练模型参数,既包括百度自研的预训练模型如ERNIE系列, PLATO, SKEP等,也涵盖业界主流的中文预训练模型。也欢迎开发者进预训练模贡献!🤗
覆盖**15**个网络结构和**67**个预训练模型参数,既包括百度自研的预训练模型如ERNIE系列, PLATO, SKEP等,也涵盖业界主流的中文预训练模型。也欢迎开发者贡献更多预训练模型!🤗

```python
from paddlenlp.transformers import *
Expand Down
4 changes: 2 additions & 2 deletions paddlenlp/transformers/albert/tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ def __init__(

if vocab_file is not None:
self.tokenizer = AlbertChineseTokenizer(
vocab_file,
vocab_file=vocab_file,
do_lower_case=False,
)
elif sentencepiece_model_file is not None:
self.tokenizer = AlbertEnglishTokenizer(
sentencepiece_model_file,
sentencepiece_model_file=sentencepiece_model_file,
do_lower_case=True,
)
else:
Expand Down

0 comments on commit 89b070c

Please sign in to comment.