recipe(wav2vec2): add jonatasgrosman/wav2vec2-large-xlsr-53-polish ASR recipes#1207
Open
codykk wants to merge 1 commit into
Open
recipe(wav2vec2): add jonatasgrosman/wav2vec2-large-xlsr-53-polish ASR recipes#1207codykk wants to merge 1 commit into
codykk wants to merge 1 commit into
Conversation
…R recipes Add CPU fp32 and fp16 recipes for this Wav2Vec2ForCTC Polish ASR model. The recipe forces model_class=AutoModelForCTC to work around the default AutoModelForSpeechSeq2Seq loader which rejects Wav2Vec2Config.
codykk
marked this pull request as ready for review
July 24, 2026 08:31
DingmaomaoBJTU
approved these changes
Jul 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add verified CPU fp32 and fp16 recipes for jonatasgrosman/wav2vec2-large-xlsr-53-polish, a Wav2Vec2ForCTC Polish automatic speech recognition model. The recipe forces
model_class=AutoModelForCTCto work around the defaultAutoModelForSpeechSeq2Seqloader which rejectsWav2Vec2Config.Model metadata
automatic-speech-recognition(CTC)Wav2Vec2ForCTC— convolutional feature encoder → transformer encoder → linear CTC head. Output:logits [1, 49, 40](49 CTC frames × 40 Polish character vocab).Validation and support evidence
winml build -m jonatasgrosman/wav2vec2-large-xlsr-53-polish(no recipe)Unrecognized configuration class Wav2Vec2Config for AutoModelForSpeechSeq2Seqautomatic-speech-recognitionnot in winml eval task registryDelta: Baseline FAIL → recipe PASS. The recipe forces
loader.model_class=AutoModelForCTC(CTC loader instead of default seq2seq).Reproduce:
Environment: winml 0.2.0, origin/main @
67169d45, CPU host only.