🤗 Hugging Face Transformers 5.24 adds support for Apertus, Dory and Meta speech recognition
In brief
- 🧠 The library adds Swiss AI Initiative’s Apertus 1.5, which reads text, images and audio.
- 🔁 Nvidia’s Dory can run the same block of model layers multiple times.
- 🎤 Transformers also adds Meta’s Omnilingual ASR speech recognition models.
🆕 Hugging Face released version 5.24.0 of its Transformers Python library on November 21. Developers can use the same library to load additional model architectures, including Apertus 1.5 from the Swiss AI Initiative, Nvidia’s Dory and Meta’s Omnilingual ASR. The release adds support for the architectures to the developer toolkit.
🔊 Apertus 1.5 takes text, images and audio as inputs and generates text. The library also integrates WavTokenizer, which turns audio into units the model can process. Dory can run one group of layers multiple times. Developers can vary the number of passes at inference time to change how much time the model spends on a request. Meta’s Omnilingual ASR includes speech recognition models in several sizes that collectively cover more than 1,600 languages, according to the release notes. Language coverage alone leaves the accuracy on any particular dialect or recording open.
💾 Transformers provides a common interface for these architectures. Installing 5.24.0 still leaves users to obtain the weights for their chosen model and allocate enough memory to run them. The terms for using those weights vary by model.