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

Error with empty sentences #1

Open
romaricb opened this issue Dec 9, 2020 · 0 comments
Open

Error with empty sentences #1

romaricb opened this issue Dec 9, 2020 · 0 comments
Assignees

Comments

@romaricb
Copy link
Contributor

romaricb commented Dec 9, 2020

Learning process fails when the input contains too many empty sentences: I assume the error comes from a minibatch with only empty sentences.

minimal example: with the following training set

-DOCSTART- -X- O O

The DET I-NP O
test NOUN I-NP O
. SENT I-NP O

The DET I-NP O
test NOUN I-NP O
. SENT I-NP O

. SENT I-NP O

. SENT I-NP O

The process fails with batch_size=2 but works with batch_size=3

@romaricb romaricb self-assigned this Dec 9, 2020
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