We propose a novel end-to-end speech recognition model,
Nue ASR
, which integrates pre-trained speech and language models.
The name
Nue
comes from the Japanese word (
鵺/ぬえ/Nue
), one of the Japanese legendary creatures (
妖怪/ようかい/Yōkai
).
This model provides end-to-end Japanese speech recognition with recognition accuracy comparable to the recent ASR models.
You can recognize speech faster than real time by using a GPU.
This model consists of three main components: HuBERT audio encoder, bridge network, and GPT-NeoX decoder.
The weights of HuBERT and GPT-NeoX were initialized with the pre-trained weights of HuBERT and GPT-NeoX, respectively.
The model was trained on approximately 19,000 hours of following Japanese speech corpus ReazonSpeech v1.
Note that speech samples longer than 16 seconds were excluded before training.
We tested our code using Python 3.8.10 and 3.10.12 with
PyTorch
2.1.1 and
Transformers
4.35.2.
This codebase is expected to be compatible with Python 3.8 or later and recent PyTorch versions.
The version of Transformers should be 4.33.0 or higher.
First, install the code for inference of this model.
@inproceedings{hono2024integrating,
title = {Integrating Pre-Trained Speech and Language Models for End-to-End Speech Recognition},
author = {Hono, Yukiya and Mitsuda, Koh and Zhao, Tianyu and Mitsui, Kentaro and Wakatsuki, Toshiaki and Sawada, Kei},
booktitle = {Findings of the Association for Computational Linguistics: ACL 2024},
year = {2024}
}
@misc{rinna-nue-asr,
title = {rinna/nue-asr},
author = {Hono, Yukiya and Mitsuda, Koh and Zhao, Tianyu and Mitsui, Kentaro and Wakatsuki, Toshiaki and Sawada, Kei},
url = {https://huggingface.co/rinna/nue-asr}
}
References
@inproceedings{sawada2024release,
title = {Release of Pre-Trained Models for the {J}apanese Language},
author = {Sawada, Kei and Zhao, Tianyu and Shing, Makoto and Mitsui, Kentaro and Kaga, Akio and Hono, Yukiya and Wakatsuki, Toshiaki and Mitsuda, Koh},
booktitle = {Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)},
month = {5},
year = {2024},
pages = {13898--13905},
url = {https://aclanthology.org/2024.lrec-main.1213},
note = {\url{https://arxiv.org/abs/2404.01657}}
}
@article{hsu2021hubert,
title = {{HuBERT}: Self-Supervised Speech Representation Learning by Masked Prediction of Hidden Units},
author = {Hsu, Wei-Ning and Bolte, Benjamin and Tsai, Yao-Hung Hubert and Lakhotia, Kushal and Salakhutdinov, Ruslan and Mohamed, Abdelrahman},
journal = {IEEE/ACM Transactions on Audio, Speech, and Language Processing},
month = {10},
year = {2021},
volume = {29},
pages = {3451-3460},
doi = {10.1109/TASLP.2021.3122291}
}
@software{andoniangpt2021gpt,
title = {{GPT}-{N}eo{X}: Large Scale Autoregressive Language Modeling in {P}y{T}orch},
author = {Andonian, Alex and Anthony, Quentin and Biderman, Stella and Black, Sid and Gali, Preetham and Gao, Leo and Hallahan, Eric and Levy-Kramer, Josh and Leahy, Connor and Nestler, Lucas and Parker, Kip and Pieler, Michael and Purohit, Shivanshu and Songz, Tri and Phil, Wang and Weinbach, Samuel},
month = {8},
year = {2021},
version = {0.0.1},
doi = {10.5281/zenodo.5879544},
url = {https://www.github.com/eleutherai/gpt-neox}
}
@inproceedings{aminabadi2022deepspeed,
title = {{DeepSpeed-Inference}: enabling efficient inference of transformer models at unprecedented scale},
author = {Aminabadi, Reza Yazdani and Rajbhandari, Samyam and Awan, Ammar Ahmad and Li, Cheng and Li, Du and Zheng, Elton and Ruwase, Olatunji and Smith, Shaden and Zhang, Minjia and Rasley, Jeff and others},
booktitle = {SC22: International Conference for High Performance Computing, Networking, Storage and Analysis},
year = {2022},
pages = {1--15},
doi = {10.1109/SC41404.2022.00051}
}
nue-asr huggingface.co is an AI model on huggingface.co that provides nue-asr's model effect (), which can be used instantly with this rinna nue-asr model. huggingface.co supports a free trial of the nue-asr model, and also provides paid use of the nue-asr. Support call nue-asr model through api, including Node.js, Python, http.
nue-asr huggingface.co is an online trial and call api platform, which integrates nue-asr's modeling effects, including api services, and provides a free online trial of nue-asr, you can try nue-asr online for free by clicking the link below.
nue-asr is an open source model from GitHub that offers a free installation service, and any user can find nue-asr on GitHub to install. At the same time, huggingface.co provides the effect of nue-asr install, users can directly use nue-asr installed effect in huggingface.co for debugging and trial. It also supports api for free installation.