-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Add Reformer Model #870
Add Reformer Model #870
Conversation
This comment has been minimized.
This comment has been minimized.
模型权重链接。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
resource_files_names = {"sentencepiece_model_file": "spiece.model", } | ||
pretrained_resource_files_map = { | ||
"sentencepiece_model_file": { | ||
"reformer-crime-and-punishment": | ||
"http://paddlenlp.bj.bcebos.com/models/transformers/reformer/reformer-crime-and-punishment/spiece.model", | ||
}, | ||
} | ||
|
||
pretrained_init_configuration = { | ||
"reformer-crime-and-punishment": { | ||
"do_lower_case": False | ||
}, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里缺少reformer-enwik8权重加载的tokenizer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reformer-enwik8 不使用tokenizer
权重已上传 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
飞桨论文复现挑战赛(第四期)Reformer: The Efficient Transformer 论文复现提交。