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

请问中文albert训练过程中是按字符级分割还是按词语级分割? #165

Open
rsindper opened this issue Nov 9, 2021 · 1 comment

Comments

@rsindper
Copy link

rsindper commented Nov 9, 2021

请问中文albert训练过程中是按字符级分割还是按词语级分割?基于albert_zh预训练模型做Fine-tune时,有办法选择按字符级还是按词语级分割训练数据吗?谢谢

@brightmart
Copy link
Owner

brightmart commented Nov 9, 2021

使用中文的whole word mask的。
你可以改造一下数据生成的流程呢,https://github.com/brightmart/albert_zh/blob/master/create_pretraining_data.py

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

No branches or pull requests

2 participants