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

Fix dict chunking in StreamingDataSilo for LMFinetuning #284

Merged
merged 1 commit into from
Mar 19, 2020

Conversation

tanaysoni
Copy link
Contributor

For BertStyleLMProcessor, we need to have at least 2 documents to be able to sample random sentences for the next sentence prediction task. This PR adds a check to skip processing of dict chunks with less than 2 documents.

@tanaysoni tanaysoni requested a review from tholor March 19, 2020 11:14
@tanaysoni tanaysoni merged commit 97b0211 into master Mar 19, 2020
@tanaysoni tanaysoni deleted the fix-lmfinetune-dict-chunking branch March 19, 2020 11:40
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

Successfully merging this pull request may close these issues.

None yet

2 participants