-
Notifications
You must be signed in to change notification settings - Fork 30.4k
fix(voxtral): correct typo in apply_transcription_request #39572
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
Conversation
63f00ea
to
0b6229d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix! I also found this typo while looking into the demo code
https://huggingface.co/spaces/MohamedRashad/Voxtral/blob/main/app.py#L62
To make smooth fix we should also update
voxtral.md
- fix typo in model cards on the Hub (3B and 24B)
- make sure demos will work after the update (make corresponding PR's to fix the typo)
As an intermediate step, we can support both methods for a while, e.g.
# method with typo
def apply_transcrition_request(self, *args, **kwargs):
warning.warn("Method is deprecated, please use `apply_transcription_request` ...")
return apply_transcription_request(*args, **kwargs)
5a52ef1
to
c98c0ad
Compare
@rev2607 can you please update |
Thanks, @qubvel. I've updated voxtral.md as requested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
run-slow: voxtral |
This comment contains run-slow, running the specified jobs: models: ['models/voxtral'] |
Checking slow tests (likely compute related) |
run-slow: voxtral |
This comment contains run-slow, running the specified jobs: models: ['models/voxtral'] |
[For maintainers] Suggested jobs to run (before merge) run-slow: voxtral |
…e#39572) * fix(voxtral): correct typo in apply_transcription_request * temporary wrapper: apply_transcrition_request * Update processing_voxtral.py * style: sort imports in processing_voxtral.py * docs(voxtral): fix typo in voxtral.md * make style * doc update --------- Co-authored-by: eustlb <[email protected]> Co-authored-by: Eustache Le Bihan <[email protected]>
…e#39572) * fix(voxtral): correct typo in apply_transcription_request * temporary wrapper: apply_transcrition_request * Update processing_voxtral.py * style: sort imports in processing_voxtral.py * docs(voxtral): fix typo in voxtral.md * make style * doc update --------- Co-authored-by: eustlb <[email protected]> Co-authored-by: Eustache Le Bihan <[email protected]>
…e#39572) * fix(voxtral): correct typo in apply_transcription_request * temporary wrapper: apply_transcrition_request * Update processing_voxtral.py * style: sort imports in processing_voxtral.py * docs(voxtral): fix typo in voxtral.md * make style * doc update --------- Co-authored-by: eustlb <[email protected]> Co-authored-by: Eustache Le Bihan <[email protected]>
…e#39572) * fix(voxtral): correct typo in apply_transcription_request * temporary wrapper: apply_transcrition_request * Update processing_voxtral.py * style: sort imports in processing_voxtral.py * docs(voxtral): fix typo in voxtral.md * make style * doc update --------- Co-authored-by: eustlb <[email protected]> Co-authored-by: Eustache Le Bihan <[email protected]>
…e#39572) * fix(voxtral): correct typo in apply_transcription_request * temporary wrapper: apply_transcrition_request * Update processing_voxtral.py * style: sort imports in processing_voxtral.py * docs(voxtral): fix typo in voxtral.md * make style * doc update --------- Co-authored-by: eustlb <[email protected]> Co-authored-by: Eustache Le Bihan <[email protected]>
…e#39572) * fix(voxtral): correct typo in apply_transcription_request * temporary wrapper: apply_transcrition_request * Update processing_voxtral.py * style: sort imports in processing_voxtral.py * docs(voxtral): fix typo in voxtral.md * make style * doc update --------- Co-authored-by: eustlb <[email protected]> Co-authored-by: Eustache Le Bihan <[email protected]>
…e#39572) * fix(voxtral): correct typo in apply_transcription_request * temporary wrapper: apply_transcrition_request * Update processing_voxtral.py * style: sort imports in processing_voxtral.py * docs(voxtral): fix typo in voxtral.md * make style * doc update --------- Co-authored-by: eustlb <[email protected]> Co-authored-by: Eustache Le Bihan <[email protected]>
What does this PR do?
Fixes a typo in the method name
apply_transcrition_request
→apply_transcription_request
insidesrc/transformers/models/voxtral/processing_voxtral.py
.This PR addresses issue #39530. The method was misspelled and is now corrected for clarity and consistency. This change may also require updates in model cards if this method is referenced there.
Fixes #39530
Before submitting
Who can review?
@speech models: @eustlb