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 enwiki dataset #31

Merged
merged 1 commit into from
Oct 6, 2022
Merged

Fix enwiki dataset #31

merged 1 commit into from
Oct 6, 2022

Conversation

dskhudia
Copy link
Contributor

@dskhudia dskhudia commented Oct 6, 2022

bert models expect data to contain input_ids, token_type_ids, attention_mask and labels. Fix loaded data to use these names.

@dskhudia dskhudia requested a review from knighton October 6, 2022 22:59
streaming/text/enwiki.py Outdated Show resolved Hide resolved
streaming/text/enwiki.py Outdated Show resolved Hide resolved
@dskhudia dskhudia merged commit e2dc250 into main Oct 6, 2022
@dskhudia dskhudia deleted the enwiki_fix branch October 6, 2022 23:50
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.

2 participants