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

I don't see you do truncate when the sequence longer than 512 lengths? #2

Open
Louis-udm opened this issue Mar 30, 2019 · 1 comment

Comments

@Louis-udm
Copy link

Louis-udm commented Mar 30, 2019

We know that when loading pretrained bert, max_seqence=512, but when you are dealing with the sentences from data set, each sentence is padding based on the longest sentence of the batch, but I don't see you do truncate when the sequence longer than 512 lengths?

Thanks

@Louis-udm
Copy link
Author

Louis-udm commented Apr 1, 2019

I wrote a Bert+CRF model, which has 92.29% f1 on test data, a little higher performance than yours, but a little bit worse than the paper's 92.4 %, why?

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