We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如何使用PaddleNlp的albert模型进行训练,在model_zoo里似乎没有找到albert模型
The text was updated successfully, but these errors were encountered:
albert和bert的训练方式基本一致,可以参考bert模型的训练方式,可以参考
PaddleNLP/legacy/model_zoo/bert/run_glue_trainer.py
Line 60 in 70da482
同时稍微改动几行代码,支持albert训练,传入传入albert的Class名字,具体的Class名字可以参考 https://github.com/PaddlePaddle/PaddleNLP/blob/develop/paddlenlp/transformers/albert/modeling.py
Sorry, something went wrong.
请问是这么添加吗 "albert": (AlbertForSequenceClassification, AlbertTokenizer), 除此之外,还有什么需要修改的吗
你使用torch就10行代码就可以微调albert
This issue is stale because it has been open for 60 days with no activity. 当前issue 60天内无活动,被标记为stale。
This issue was closed because it has been inactive for 14 days since being marked as stale. 当前issue 被标记为stale已有14天,即将关闭。
wawltor
No branches or pull requests
请提出你的问题
如何使用PaddleNlp的albert模型进行训练,在model_zoo里似乎没有找到albert模型
The text was updated successfully, but these errors were encountered: