Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PaddlePaddle Hackathon] 第51题 #1115

Merged
merged 31 commits into from
Oct 28, 2021
Merged

Conversation

iverxin
Copy link
Contributor

@iverxin iverxin commented Oct 4, 2021

PR types

New features

PR changes

Models

Description

#1079

  1. 在PaddleNLP的Bert代码中,新增 BertJapaneseTokenizer。
  2. 新增 cl-tohoku/bert-base-japanese,cl-tohoku/bert-base-japanese-whole-word-masking,cl-tohoku/bert-base-japanese-char 和 cl-tohoku/bert-base-japanese-char-whole-word-masking 四个模型参数权重。
  3. 包含代码+注释+ 项目单测文件+贡献模型权重+权重转换代码

@iverxin iverxin changed the title add bert japanese [PaddlePaddle Hackathon] 第51题 Oct 4, 2021
@iverxin
Copy link
Contributor Author

iverxin commented Oct 4, 2021

模型权重下载地址:
链接:https://pan.baidu.com/s/1MjlcvK8P4rMdEtrf3gid4Q
提取码:c89w

@ZeyuChen
Copy link
Member

ZeyuChen commented Oct 8, 2021

@iverxin Thanks for your contributons!

@yingyibiao
Copy link
Contributor

paddlenlp/transformers/bert/modeling.py Outdated Show resolved Hide resolved
paddlenlp/transformers/bert/modeling.py Outdated Show resolved Hide resolved
paddlenlp/transformers/bert/tokenizer.py Outdated Show resolved Hide resolved
@yingyibiao
Copy link
Contributor

上传权重请参考下述流程:
https://paddlenlp.readthedocs.io/zh/latest/community/contribute_models/contribute_awesome_pretrained_models.html

按照上述文档,需要在 PaddleNLP/community/ 新增个人目录

@iverxin
Copy link
Contributor Author

iverxin commented Oct 20, 2021

上传权重请参考下述流程:
https://paddlenlp.readthedocs.io/zh/latest/community/contribute_models/contribute_awesome_pretrained_models.html

按照上述文档,需要在 PaddleNLP/community/ 新增个人目录

已添加
图片

@yingyibiao
Copy link
Contributor

上传权重请参考下述流程:
https://paddlenlp.readthedocs.io/zh/latest/community/contribute_models/contribute_awesome_pretrained_models.html

按照上述文档,需要在 PaddleNLP/community/ 新增个人目录

已添加 图片

一个权重需要一个iverxin下的目录哈

@iverxin
Copy link
Contributor Author

iverxin commented Oct 20, 2021

上传权重请参考下述流程:
https://paddlenlp.readthedocs.io/zh/latest/community/contribute_models/contribute_awesome_pretrained_models.html

按照上述文档,需要在 PaddleNLP/community/ 新增个人目录

已添加 图片

一个权重需要一个iverxin下的目录哈

Done

@iverxin iverxin requested a review from yingyibiao October 22, 2021 04:23
paddlenlp/transformers/bert_japanese/tokenizer.py Outdated Show resolved Hide resolved
paddlenlp/transformers/bert_japanese/tokenizer.py Outdated Show resolved Hide resolved
paddlenlp/transformers/bert_japanese/tokenizer.py Outdated Show resolved Hide resolved
paddlenlp/transformers/bert/tokenizer.py Outdated Show resolved Hide resolved
paddlenlp/transformers/bert/tokenizer.py Outdated Show resolved Hide resolved
paddlenlp/transformers/bert/tokenizer.py Outdated Show resolved Hide resolved
paddlenlp/transformers/bert/tokenizer.py Outdated Show resolved Hide resolved
tests/transformers/bert/test_tokenizer.py Outdated Show resolved Hide resolved
@yingyibiao
Copy link
Contributor

@iverxin
Copy link
Contributor Author

iverxin commented Oct 26, 2021

权重和参数已更新,麻烦上传到服务器 3Q~
链接:https://pan.baidu.com/s/1MjlcvK8P4rMdEtrf3gid4Q
提取码:c89w

@yingyibiao
Copy link
Contributor

权重和参数已更新,麻烦上传到服务器 3Q~
链接:https://pan.baidu.com/s/1MjlcvK8P4rMdEtrf3gid4Q
提取码:c89w

已上传~

community/iverxin/bert-base-japanese-char/files.json Outdated Show resolved Hide resolved
community/iverxin/bert-base-japanese/files.json Outdated Show resolved Hide resolved
paddlenlp/transformers/bert/modeling.py Outdated Show resolved Hide resolved
paddlenlp/transformers/bert/tokenizer.py Outdated Show resolved Hide resolved
paddlenlp/transformers/bert/tokenizer.py Outdated Show resolved Hide resolved
tests/transformers/bert/test_tokenizer.py Outdated Show resolved Hide resolved
tests/transformers/bert/test_tokenizer.py Outdated Show resolved Hide resolved
paddlenlp/transformers/bert_japanese/tokenizer.py Outdated Show resolved Hide resolved
@iverxin
Copy link
Contributor Author

iverxin commented Oct 27, 2021

已修改~

@iverxin iverxin requested a review from yingyibiao October 27, 2021 05:37
Copy link
Contributor

@yingyibiao yingyibiao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yingyibiao yingyibiao merged commit 48e58f0 into PaddlePaddle:develop Oct 28, 2021
@iverxin iverxin deleted the t51 branch October 28, 2021 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants