• Nicolas Patry's avatar
    Adding support for `pipeline("automatic-speech-recognition")`. (#11525) · ebc69afc
    Nicolas Patry authored
    * Adding support for `pipeline("automatic-speech-recognition")`.
    
    - Ugly `"config"` choice for AutoModel. It would be great to have the
    possibility to have something like `AutoModelFor` that would implement
    the same logic (Load the config, check Architectures and load the first
    one)
    
    * Remove `model_id` was not needed in the end.
    
    * Rebased !
    
    * Remove old code.
    
    * Rename `nlp`.
    ebc69afc
test_pipelines_automatic_speech_recognition.py 4.78 KB