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 type issues and short messages breaking inference #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tristanmckechnie
Copy link

I could not run the attacut-cli tool with gpu inference without specifying a type in line 178 of attact/dataloaders.py

Additionally, for my application of tokenizing short messages (tweets), some short messages created zero length tokens and so a words could not be retrieved. I added a simple if-else check to ensure a short message does not break the tokenization of many messags / lines.

@p16i
Copy link
Collaborator

p16i commented Nov 29, 2022

Hi,

Thank you for reporting the issues! I was not aware of them before.

Having said that, would you mind sharing some data or scenario in which I can see the issues arise and the PR fix them?

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