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

创建预训练的数据时, article['input_ids'].append(0),最后时0,但是在demo里eos确是102,这是什么原因 #89

Open
joytianya opened this issue Sep 13, 2020 · 0 comments

Comments

@joytianya
Copy link

创建预训练的数据时, article['input_ids'].append(0),最后时0,但是在demo里eos确是102,如果在预训练数据中没有102,那结束字符很难会出现102([sep])字符吧,但是在运行demo时确实有sep,想问下,是不是article['input_ids'].append(0)应该是article['input_ids'].append(102)?

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

1 participant