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

NoiseModifier should use a tokenizer to generate correct alignments #55

Open
gregtatum opened this issue Mar 1, 2024 · 0 comments
Open

Comments

@gregtatum
Copy link
Contributor

gregtatum commented Mar 1, 2024

There are no guarantees that the alignments are correct in the NoiseModifer. It generates random tokens through the get_random_unicode_words, but these could be tokenized as combined words. For instance, if it chooses basic Latin, it could generate cat which would be a single token rather than c a t as generated.

The fix here would be to use a configured tokenizer.

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