[AutoProcessor] Add Wav2Vec2WithLM & small fix (#14675)
* [AutoProcessor] Add Wav2Vec2WithLM & small fix * revert line removal * Update src/transformers/__init__.py * add test * up * up * small fix
This commit is contained in:
committed by
GitHub
parent
2294071a0c
commit
ee4fa2e465
@@ -31,7 +31,7 @@ from .test_feature_extraction_wav2vec2 import floats_list
|
||||
|
||||
if is_pyctcdecode_available():
|
||||
from pyctcdecode import BeamSearchDecoderCTC
|
||||
from transformers.models.wav2vec2 import Wav2Vec2ProcessorWithLM
|
||||
from transformers.models.wav2vec2_with_lm import Wav2Vec2ProcessorWithLM
|
||||
|
||||
|
||||
@require_pyctcdecode
|
||||
|
||||
Reference in New Issue
Block a user