Skip to content

Commit

Permalink
Fix tokenizer bug (#893)
Browse files Browse the repository at this point in the history
* fix unified transformer dtype problem

* fix win dtype bug

* Fix plato-2 and plato-mini dtype bug

* Fix plato-2 tokenization

* Refine some doc

* Add general k support for topk sampling

* fix seed

* minor fix

* Fix unitransformer readme

* topk kernel optimization

* add unimo model and fix generate api

* add 3 datasets for unimo-text

* fix tokenizer bug

Co-authored-by: Jiaqi Liu <liujiaqi06@baidu.com>
Co-authored-by: liu zhengxi <380185688@qq.com>
  • Loading branch information
3 people committed Aug 17, 2021
1 parent 740f5e2 commit 7e098f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddlenlp/transformers/unimo/tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class UNIMOTokenizer(PretrainedTokenizer):
"unimo-text-1.0":
"https://paddlenlp.bj.bcebos.com/models/transformers/unimo/unimo-text-1.0-vocab.txt",
"unimo-text-1.0-large":
"https://paddlenlp.bj.bcebos.com/models/transformers/unimo/unimo-text-1.0-vocab-large.txt",
"https://paddlenlp.bj.bcebos.com/models/transformers/unimo/unimo-text-1.0-large-vocab.txt",
}
}
pretrained_init_configuration = {
Expand Down

0 comments on commit 7e098f1

Please sign in to comment.