-
Notifications
You must be signed in to change notification settings - Fork 152
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
sentence-order prediction #42
Comments
@yzgdjqwh 博文里面有介绍,对应可以找到代码https://lonepatient.top/2019/10/20/ALBERT.html |
在您博文中看到了下面,它在您程序的哪个模块?我初学,请多包涵 NSP:是否下一句预测, true = 上下相邻的2个句子,false=随机2个句子SOP:句间连贯预测,true=正常顺序的2个相邻句子,false=调换顺序的2个相邻句子if random.random() < 0.5: # 交换一下tokens_a和tokens_b |
@yzgdjqwh 在prepare_lm_data_ngram.py里面 |
谢谢您及时解答我的菜鸟问题。
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BERT的NextSentencePr任务过于简单。ALBERT中,为了只保留一致性任务去除主题识别的影响,提出了一个新的任务 sentence-order prediction(SOP)
请问: 这个任务在您程序的哪个部分?
The text was updated successfully, but these errors were encountered: