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

Move pyctcdecode #14686

Merged
merged 5 commits into from
Dec 8, 2021
Merged

Move pyctcdecode #14686

merged 5 commits into from
Dec 8, 2021

Conversation

sgugger
Copy link
Collaborator

@sgugger sgugger commented Dec 8, 2021

What does this PR do?

This PR moves the pyctcdedcode to the methods of Wav2Vec2ProcessorWithLM so that one can always import it. The dependencies seem a bit tricky to all install (and in particular kenlm is a hard requirement but it doesn't seem to always work properly, especially in notebooks) so this makes the object easier to import for everyone.

Copy link
Contributor

@patrickvonplaten patrickvonplaten left a comment

Choose a reason for hiding this comment

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

Thanks!

@sgugger sgugger merged commit 13186d7 into master Dec 8, 2021
@sgugger sgugger deleted the move_pyctcdecode branch December 8, 2021 20:42
Albertobegue pushed a commit to Albertobegue/transformers that referenced this pull request Jan 27, 2022
* Move pyctcdecode dep

* Fix doc and last objects

* Quality

* Style

* Ignore this black
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.

None yet

2 participants