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

Bad behaviour on TweetDataset #6

Closed
Galeos93 opened this issue Jun 27, 2021 · 0 comments
Closed

Bad behaviour on TweetDataset #6

Galeos93 opened this issue Jun 27, 2021 · 0 comments
Assignees
Labels
invalid This doesn't seem right

Comments

@Galeos93
Copy link
Owner

Galeos93 commented Jun 27, 2021

I think TweetDataset will not work directly if I feed it to DataLoader. This is so because of the different lenghts of the sentences. This fact makes their aggrupation on a batch impossible. I have to find out how to fix it.

For example, here, they use collate_fn=collate_batch to "flatten" the sentences into a giant unidimensional vector. I will see if there are alternatives to this.

@Galeos93 Galeos93 added the invalid This doesn't seem right label Jun 27, 2021
@Galeos93 Galeos93 self-assigned this Jun 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant