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

Add robustness to automatic decoder instantiation #4

Merged
merged 24 commits into from
Oct 1, 2021
Merged

Conversation

gkucsko
Copy link
Contributor

@gkucsko gkucsko commented Jun 16, 2021

This diff adds better parsing for alphabets as well as sanity checks + logging around potential issues during instantiation

pyctcdecode/alphabet.py Outdated Show resolved Hide resolved
pyctcdecode/alphabet.py Show resolved Hide resolved
pyctcdecode/alphabet.py Outdated Show resolved Hide resolved
pyctcdecode/language_model.py Outdated Show resolved Hide resolved
pyctcdecode/alphabet.py Show resolved Hide resolved
pyctcdecode/alphabet.py Outdated Show resolved Hide resolved
pyctcdecode/language_model.py Outdated Show resolved Hide resolved
pyctcdecode/alphabet.py Outdated Show resolved Hide resolved
pyctcdecode/alphabet.py Outdated Show resolved Hide resolved
pyctcdecode/alphabet.py Outdated Show resolved Hide resolved
@sarim-zafar
Copy link

any update on this?

@gkucsko
Copy link
Contributor Author

gkucsko commented Jun 30, 2021

Yeah sorry, was moving states, but most of the code it already done, will update and hopefully land code tomorrow

@poneill poneill mentioned this pull request Jul 6, 2021
Copy link
Contributor

@poneill poneill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, I think it's mostly nits at this point

pyctcdecode/alphabet.py Show resolved Hide resolved
pyctcdecode/alphabet.py Outdated Show resolved Hide resolved
pyctcdecode/alphabet.py Show resolved Hide resolved
pyctcdecode/alphabet.py Show resolved Hide resolved
pyctcdecode/alphabet.py Outdated Show resolved Hide resolved
pyctcdecode/alphabet.py Show resolved Hide resolved
pyctcdecode/alphabet.py Show resolved Hide resolved
pyctcdecode/decoder.py Outdated Show resolved Hide resolved
pyctcdecode/decoder.py Outdated Show resolved Hide resolved
pyctcdecode/language_model.py Show resolved Hide resolved
@jedzill4
Copy link

Is this still in development ? I found some of the same issues/errors fixed on this branch and i was waiting for this merge to look in deep

@gkucsko
Copy link
Contributor Author

gkucsko commented Sep 28, 2021

my bad sorry, I got busy with other projects. Will get back to this very soon

@gkucsko gkucsko merged commit 455f16a into main Oct 1, 2021
@gkucsko gkucsko deleted the add_robustness branch October 1, 2021 14:37
@gkucsko
Copy link
Contributor Author

gkucsko commented Oct 1, 2021

@jedzill4 @sarim-zafar sorry for the delay, the new code should now be up on pypi as v0.1.1. Please let us know if there are still issues.

@jedzill4
Copy link

jedzill4 commented Oct 6, 2021

Thanks for the work! it works smoothly

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.

4 participants