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

Question About fine-tuning #9

Closed
graykode opened this issue Apr 11, 2019 · 1 comment
Closed

Question About fine-tuning #9

graykode opened this issue Apr 11, 2019 · 1 comment

Comments

@graykode
Copy link

https://github.com/dhlee347/pytorchic-bert/blob/master/classify.py#L137
When fine-tuning, is there no needed '[SEP]', '[CLS]'?
In google-research code, They add 'CLS' and 'SEP' in fine-tuning.
https://github.com/santhoshkolloju/Abstractive-Summarization-With-Transfer-Learning/blob/master/preprocess.py#L197

@dhlee347
Copy link
Owner

dhlee347 commented May 7, 2019

Sorry for the late response,
'[SEP]', '[CLS]' are added at https://github.com/dhlee347/pytorchic-bert/blob/master/classify.py#L119

@graykode graykode closed this as completed May 7, 2019
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