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
我在预处理那个文件里看到了NSP任务,我记得论文里还想没有提到NSP
The text was updated successfully, but these errors were encountered:
还有,可以不可以公布一个中文版
Sorry, something went wrong.
if args.model_path: model = ElectraForPreTraining.from_pretrained(args.model_path)
这条语句ElectraForPreTraining里有一个生成器和一个判别器,使用.from_pretrained是载入哪一个模型呢
默认加的是判别器部分, 预训练时没有使用NSP,但是预处理部分直接使用的bert的,所以包含了NSP,但是在模型训练部分没有使用,现在huggingface已经支持了,建议使用huggingface(中文版同样适用),个人版本主要是当时huggingface还没出,自己转换的。
No branches or pull requests
我在预处理那个文件里看到了NSP任务,我记得论文里还想没有提到NSP
The text was updated successfully, but these errors were encountered: