Automatic Speech Recognition
NeMo
Safetensors
PyTorch
English
speech
audio
Transformer
FastConformer
Conformer
NeMo
Qwen
hf-asr-leaderboard
Eval Results (legacy)
Eval Results
Instructions to use JSCreatorPro/offline-audio-canary-qwen-25b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NeMo
How to use JSCreatorPro/offline-audio-canary-qwen-25b with NeMo:
import nemo.collections.asr as nemo_asr asr_model = nemo_asr.models.ASRModel.from_pretrained("JSCreatorPro/offline-audio-canary-qwen-25b") transcriptions = asr_model.transcribe(["file.wav"]) - Notebooks
- Google Colab
- Kaggle
mirror of nvidia/canary-qwen-2.5b
Browse files- .eval_results/open_asr_leaderboard.yaml +99 -0
- .gitattributes +1 -0
- LICENSES +103 -0
- README.md +485 -0
- config.json +95 -0
- model.safetensors +3 -0
.eval_results/open_asr_leaderboard.yaml
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
- dataset:
|
| 2 |
+
id: hf-audio/open-asr-leaderboard
|
| 3 |
+
task_id: mean_wer
|
| 4 |
+
value: 5.63
|
| 5 |
+
date: '2025-06-26'
|
| 6 |
+
source:
|
| 7 |
+
url: https://huggingface.co/hf-audio
|
| 8 |
+
name: open-asr-leaderboard
|
| 9 |
+
user: hf-audio
|
| 10 |
+
|
| 11 |
+
- dataset:
|
| 12 |
+
id: hf-audio/open-asr-leaderboard
|
| 13 |
+
task_id: rtfx
|
| 14 |
+
value: 418.28
|
| 15 |
+
date: '2025-06-26'
|
| 16 |
+
source:
|
| 17 |
+
url: https://huggingface.co/hf-audio
|
| 18 |
+
name: open-asr-leaderboard
|
| 19 |
+
user: hf-audio
|
| 20 |
+
|
| 21 |
+
- dataset:
|
| 22 |
+
id: hf-audio/open-asr-leaderboard
|
| 23 |
+
task_id: ami_wer
|
| 24 |
+
value: 10.19
|
| 25 |
+
date: '2025-06-26'
|
| 26 |
+
source:
|
| 27 |
+
url: https://huggingface.co/hf-audio
|
| 28 |
+
name: open-asr-leaderboard
|
| 29 |
+
user: hf-audio
|
| 30 |
+
|
| 31 |
+
- dataset:
|
| 32 |
+
id: hf-audio/open-asr-leaderboard
|
| 33 |
+
task_id: earnings22_wer
|
| 34 |
+
value: 10.45
|
| 35 |
+
date: '2025-06-26'
|
| 36 |
+
source:
|
| 37 |
+
url: https://huggingface.co/hf-audio
|
| 38 |
+
name: open-asr-leaderboard
|
| 39 |
+
user: hf-audio
|
| 40 |
+
|
| 41 |
+
- dataset:
|
| 42 |
+
id: hf-audio/open-asr-leaderboard
|
| 43 |
+
task_id: gigaspeech_wer
|
| 44 |
+
value: 9.43
|
| 45 |
+
date: '2025-06-26'
|
| 46 |
+
source:
|
| 47 |
+
url: https://huggingface.co/hf-audio
|
| 48 |
+
name: open-asr-leaderboard
|
| 49 |
+
user: hf-audio
|
| 50 |
+
|
| 51 |
+
- dataset:
|
| 52 |
+
id: hf-audio/open-asr-leaderboard
|
| 53 |
+
task_id: librispeech_clean_wer
|
| 54 |
+
value: 1.61
|
| 55 |
+
date: '2025-06-26'
|
| 56 |
+
source:
|
| 57 |
+
url: https://huggingface.co/hf-audio
|
| 58 |
+
name: open-asr-leaderboard
|
| 59 |
+
user: hf-audio
|
| 60 |
+
|
| 61 |
+
- dataset:
|
| 62 |
+
id: hf-audio/open-asr-leaderboard
|
| 63 |
+
task_id: librispeech_other_wer
|
| 64 |
+
value: 3.1
|
| 65 |
+
date: '2025-06-26'
|
| 66 |
+
source:
|
| 67 |
+
url: https://huggingface.co/hf-audio
|
| 68 |
+
name: open-asr-leaderboard
|
| 69 |
+
user: hf-audio
|
| 70 |
+
|
| 71 |
+
- dataset:
|
| 72 |
+
id: hf-audio/open-asr-leaderboard
|
| 73 |
+
task_id: spgispeech_wer
|
| 74 |
+
value: 1.9
|
| 75 |
+
date: '2025-06-26'
|
| 76 |
+
source:
|
| 77 |
+
url: https://huggingface.co/hf-audio
|
| 78 |
+
name: open-asr-leaderboard
|
| 79 |
+
user: hf-audio
|
| 80 |
+
|
| 81 |
+
- dataset:
|
| 82 |
+
id: hf-audio/open-asr-leaderboard
|
| 83 |
+
task_id: tedlium_wer
|
| 84 |
+
value: 2.71
|
| 85 |
+
date: '2025-06-26'
|
| 86 |
+
source:
|
| 87 |
+
url: https://huggingface.co/hf-audio
|
| 88 |
+
name: open-asr-leaderboard
|
| 89 |
+
user: hf-audio
|
| 90 |
+
|
| 91 |
+
- dataset:
|
| 92 |
+
id: hf-audio/open-asr-leaderboard
|
| 93 |
+
task_id: voxpopuli_wer
|
| 94 |
+
value: 5.66
|
| 95 |
+
date: '2025-06-26'
|
| 96 |
+
source:
|
| 97 |
+
url: https://huggingface.co/hf-audio
|
| 98 |
+
name: open-asr-leaderboard
|
| 99 |
+
user: hf-audio
|
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
results_hf/open-asr-leaderboarddatasets-test-only-spgispeech-test.jsonl filter=lfs diff=lfs merge=lfs -text
|
LICENSES
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright NVIDIA "Canary-1B-Flash" - CC-BY-4.0 License
|
| 2 |
+
License Text ( https://spdx.org/licenses/CC-BY-4.0.html )
|
| 3 |
+
Creative Commons Attribution 4.0 International Public License
|
| 4 |
+
|
| 5 |
+
By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
|
| 6 |
+
|
| 7 |
+
Section 1 Definitions.
|
| 8 |
+
|
| 9 |
+
a. Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.
|
| 10 |
+
b. Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.
|
| 11 |
+
c. Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
|
| 12 |
+
d. Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.
|
| 13 |
+
e. Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.
|
| 14 |
+
f. Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License.
|
| 15 |
+
g. Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.
|
| 16 |
+
h. Licensor means the individual(s) or entity(ies) granting rights under this Public License.
|
| 17 |
+
i. Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.
|
| 18 |
+
j. Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
|
| 19 |
+
k. You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning.
|
| 20 |
+
Section 2 Scope.
|
| 21 |
+
|
| 22 |
+
a. License grant.
|
| 23 |
+
1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:
|
| 24 |
+
A. reproduce and Share the Licensed Material, in whole or in part; and
|
| 25 |
+
B. produce, reproduce, and Share Adapted Material.
|
| 26 |
+
2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.
|
| 27 |
+
3. Term. The term of this Public License is specified in Section 6(a).
|
| 28 |
+
4. Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.
|
| 29 |
+
5. Downstream recipients.
|
| 30 |
+
A. Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.
|
| 31 |
+
B. No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
|
| 32 |
+
6. No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).
|
| 33 |
+
b. Other rights.
|
| 34 |
+
1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.
|
| 35 |
+
2. Patent and trademark rights are not licensed under this Public License.
|
| 36 |
+
3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties.
|
| 37 |
+
Section 3 License Conditions.
|
| 38 |
+
|
| 39 |
+
Your exercise of the Licensed Rights is expressly made subject to the following conditions.
|
| 40 |
+
|
| 41 |
+
a. Attribution.
|
| 42 |
+
1. If You Share the Licensed Material (including in modified form), You must:
|
| 43 |
+
A. retain the following if it is supplied by the Licensor with the Licensed Material:
|
| 44 |
+
i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
|
| 45 |
+
ii. a copyright notice;
|
| 46 |
+
iii. a notice that refers to this Public License;
|
| 47 |
+
iv. a notice that refers to the disclaimer of warranties;
|
| 48 |
+
v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
|
| 49 |
+
B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
|
| 50 |
+
C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
|
| 51 |
+
2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.
|
| 52 |
+
3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.
|
| 53 |
+
4. If You Share Adapted Material You produce, the Adapter's License You apply must not prevent recipients of the Adapted Material from complying with this Public License.
|
| 54 |
+
Section 4 Sui Generis Database Rights.
|
| 55 |
+
|
| 56 |
+
Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
|
| 57 |
+
|
| 58 |
+
a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database;
|
| 59 |
+
b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and
|
| 60 |
+
c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.
|
| 61 |
+
For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.
|
| 62 |
+
|
| 63 |
+
Section 5 Disclaimer of Warranties and Limitation of Liability.
|
| 64 |
+
|
| 65 |
+
a. Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.
|
| 66 |
+
b. To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.
|
| 67 |
+
c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
|
| 68 |
+
Section 6 Term and Termination.
|
| 69 |
+
|
| 70 |
+
a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.
|
| 71 |
+
b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:
|
| 72 |
+
1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or
|
| 73 |
+
2. upon express reinstatement by the Licensor.
|
| 74 |
+
c. For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
|
| 75 |
+
d. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.
|
| 76 |
+
e. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
|
| 77 |
+
Section 7 Other Terms and Conditions.
|
| 78 |
+
|
| 79 |
+
a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.
|
| 80 |
+
b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.
|
| 81 |
+
Section 8 Interpretation.
|
| 82 |
+
|
| 83 |
+
a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.
|
| 84 |
+
b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.
|
| 85 |
+
c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.
|
| 86 |
+
d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.
|
| 87 |
+
|
| 88 |
+
# Copyright Alibaba Cloud - "Qwen3-1.7B" - Apache 2.0 License
|
| 89 |
+
License Text ( https://spdx.org/licenses/Apache-2.0.html )
|
| 90 |
+
|
| 91 |
+
Copyright 2025 Alibaba Cloud
|
| 92 |
+
|
| 93 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 94 |
+
you may not use this file except in compliance with the License.
|
| 95 |
+
You may obtain a copy of the License at
|
| 96 |
+
|
| 97 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 98 |
+
|
| 99 |
+
Unless required by applicable law or agreed to in writing, software
|
| 100 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 101 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 102 |
+
See the License for the specific language governing permissions and
|
| 103 |
+
limitations under the License.
|
README.md
ADDED
|
@@ -0,0 +1,485 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
library_name: nemo
|
| 6 |
+
datasets:
|
| 7 |
+
- Granary
|
| 8 |
+
- YTC
|
| 9 |
+
- Yodas2
|
| 10 |
+
- LibriLight
|
| 11 |
+
- librispeech_asr
|
| 12 |
+
- fisher_corpus
|
| 13 |
+
- Switchboard-1
|
| 14 |
+
- WSJ-0
|
| 15 |
+
- WSJ-1
|
| 16 |
+
- National-Singapore-Corpus-Part-1
|
| 17 |
+
- National-Singapore-Corpus-Part-6
|
| 18 |
+
- vctk
|
| 19 |
+
- voxpopuli
|
| 20 |
+
- europarl
|
| 21 |
+
- multilingual_librispeech
|
| 22 |
+
- fleurs
|
| 23 |
+
- mozilla-foundation/common_voice_8_0
|
| 24 |
+
- MLCommons/peoples_speech
|
| 25 |
+
thumbnail: null
|
| 26 |
+
tags:
|
| 27 |
+
- automatic-speech-recognition
|
| 28 |
+
- speech
|
| 29 |
+
- audio
|
| 30 |
+
- Transformer
|
| 31 |
+
- FastConformer
|
| 32 |
+
- Conformer
|
| 33 |
+
- pytorch
|
| 34 |
+
- NeMo
|
| 35 |
+
- Qwen
|
| 36 |
+
- hf-asr-leaderboard
|
| 37 |
+
widget:
|
| 38 |
+
- example_title: Librispeech sample 1
|
| 39 |
+
src: https://cdn-media.huggingface.co/speech_samples/sample1.flac
|
| 40 |
+
- example_title: Librispeech sample 2
|
| 41 |
+
src: https://cdn-media.huggingface.co/speech_samples/sample2.flac
|
| 42 |
+
model-index:
|
| 43 |
+
- name: canary-qwen-2.5b
|
| 44 |
+
results:
|
| 45 |
+
- task:
|
| 46 |
+
name: Automatic Speech Recognition
|
| 47 |
+
type: automatic-speech-recognition
|
| 48 |
+
dataset:
|
| 49 |
+
name: AMI (Meetings test)
|
| 50 |
+
type: edinburghcstr/ami
|
| 51 |
+
config: ihm
|
| 52 |
+
split: test
|
| 53 |
+
args:
|
| 54 |
+
language: en
|
| 55 |
+
metrics:
|
| 56 |
+
- name: Test WER
|
| 57 |
+
type: wer
|
| 58 |
+
value: 10.19
|
| 59 |
+
- task:
|
| 60 |
+
name: Automatic Speech Recognition
|
| 61 |
+
type: automatic-speech-recognition
|
| 62 |
+
dataset:
|
| 63 |
+
name: Earnings-22
|
| 64 |
+
type: revdotcom/earnings22
|
| 65 |
+
split: test
|
| 66 |
+
args:
|
| 67 |
+
language: en
|
| 68 |
+
metrics:
|
| 69 |
+
- name: Test WER
|
| 70 |
+
type: wer
|
| 71 |
+
value: 10.45
|
| 72 |
+
- task:
|
| 73 |
+
name: Automatic Speech Recognition
|
| 74 |
+
type: automatic-speech-recognition
|
| 75 |
+
dataset:
|
| 76 |
+
name: GigaSpeech
|
| 77 |
+
type: speechcolab/gigaspeech
|
| 78 |
+
split: test
|
| 79 |
+
args:
|
| 80 |
+
language: en
|
| 81 |
+
metrics:
|
| 82 |
+
- name: Test WER
|
| 83 |
+
type: wer
|
| 84 |
+
value: 9.43
|
| 85 |
+
- task:
|
| 86 |
+
name: Automatic Speech Recognition
|
| 87 |
+
type: automatic-speech-recognition
|
| 88 |
+
dataset:
|
| 89 |
+
name: LibriSpeech (clean)
|
| 90 |
+
type: librispeech_asr
|
| 91 |
+
config: other
|
| 92 |
+
split: test
|
| 93 |
+
args:
|
| 94 |
+
language: en
|
| 95 |
+
metrics:
|
| 96 |
+
- name: Test WER
|
| 97 |
+
type: wer
|
| 98 |
+
value: 1.61
|
| 99 |
+
- task:
|
| 100 |
+
name: Automatic Speech Recognition
|
| 101 |
+
type: automatic-speech-recognition
|
| 102 |
+
dataset:
|
| 103 |
+
name: LibriSpeech (other)
|
| 104 |
+
type: librispeech_asr
|
| 105 |
+
config: other
|
| 106 |
+
split: test
|
| 107 |
+
args:
|
| 108 |
+
language: en
|
| 109 |
+
metrics:
|
| 110 |
+
- name: Test WER
|
| 111 |
+
type: wer
|
| 112 |
+
value: 3.1
|
| 113 |
+
- task:
|
| 114 |
+
type: Automatic Speech Recognition
|
| 115 |
+
name: automatic-speech-recognition
|
| 116 |
+
dataset:
|
| 117 |
+
name: SPGI Speech
|
| 118 |
+
type: kensho/spgispeech
|
| 119 |
+
config: test
|
| 120 |
+
split: test
|
| 121 |
+
args:
|
| 122 |
+
language: en
|
| 123 |
+
metrics:
|
| 124 |
+
- name: Test WER
|
| 125 |
+
type: wer
|
| 126 |
+
value: 1.9
|
| 127 |
+
- task:
|
| 128 |
+
type: Automatic Speech Recognition
|
| 129 |
+
name: automatic-speech-recognition
|
| 130 |
+
dataset:
|
| 131 |
+
name: tedlium-v3
|
| 132 |
+
type: LIUM/tedlium
|
| 133 |
+
config: release1
|
| 134 |
+
split: test
|
| 135 |
+
args:
|
| 136 |
+
language: en
|
| 137 |
+
metrics:
|
| 138 |
+
- name: Test WER
|
| 139 |
+
type: wer
|
| 140 |
+
value: 2.71
|
| 141 |
+
- task:
|
| 142 |
+
name: Automatic Speech Recognition
|
| 143 |
+
type: automatic-speech-recognition
|
| 144 |
+
dataset:
|
| 145 |
+
name: Vox Populi
|
| 146 |
+
type: facebook/voxpopuli
|
| 147 |
+
config: en
|
| 148 |
+
split: test
|
| 149 |
+
args:
|
| 150 |
+
language: en
|
| 151 |
+
metrics:
|
| 152 |
+
- name: Test WER
|
| 153 |
+
type: wer
|
| 154 |
+
value: 5.66
|
| 155 |
+
metrics:
|
| 156 |
+
- wer
|
| 157 |
+
base_model:
|
| 158 |
+
- nvidia/canary-1b-flash
|
| 159 |
+
- Qwen/Qwen3-1.7B
|
| 160 |
+
---
|
| 161 |
+
|
| 162 |
+
<style>
|
| 163 |
+
img {
|
| 164 |
+
display: inline;
|
| 165 |
+
}
|
| 166 |
+
</style>
|
| 167 |
+
|
| 168 |
+
[](#model-architecture)
|
| 169 |
+
| [](#model-architecture)
|
| 170 |
+
| [](#datasets)
|
| 171 |
+
|
| 172 |
+
|
| 173 |
+
# Model Overview
|
| 174 |
+
|
| 175 |
+
## Description:
|
| 176 |
+
NVIDIA NeMo Canary-Qwen-2.5B is an English speech recognition model that achieves state-of-the art performance on multiple English speech benchmarks. With 2.5 billion parameters and running at 418 RTFx, Canary-Qwen-2.5B supports automatic speech-to-text recognition (ASR) in English with punctuation and capitalization (PnC). The model works in two modes: as a transcription tool (ASR mode) and as an LLM (LLM mode). In ASR mode, the model is only capable of transcribing the speech into text, but does not retain any LLM-specific skills such as reasoning. In LLM mode, the model retains all of the original LLM capabilities, which can be used to post-process the transcript, e.g. summarize it or answer questions about it. In LLM mode, the model does not "understand" the raw audio anymore - only its transcript. This model is ready for commercial use.
|
| 177 |
+
|
| 178 |
+
### License/Terms of Use:
|
| 179 |
+
Canary-Qwen-2.5B is released under the CC-BY-4.0 license. By using this model, you are agreeing to the [terms and conditions](https://choosealicense.com/licenses/cc-by-4.0/) of the license. <br>
|
| 180 |
+
|
| 181 |
+
### Discover more from NVIDIA:
|
| 182 |
+
For documentation, deployment guides, enterprise-ready APIs, and the latest open models—including Nemotron and other cutting-edge speech, translation, and generative AI—visit the NVIDIA Developer Portal at developer.nvidia.com.
|
| 183 |
+
Join the community to access tools, support, and resources to accelerate your development with NVIDIA’s NeMo, Riva, NIM, and foundation models.<br>
|
| 184 |
+
|
| 185 |
+
#### Explore more from NVIDIA: <br>
|
| 186 |
+
What is [Nemotron](https://www.nvidia.com/en-us/ai-data-science/foundation-models/nemotron/)?<br>
|
| 187 |
+
NVIDIA Developer [Nemotron](https://developer.nvidia.com/nemotron)<br>
|
| 188 |
+
[NVIDIA Riva Speech](https://developer.nvidia.com/riva?sortBy=developer_learning_library%2Fsort%2Ffeatured_in.riva%3Adesc%2Ctitle%3Aasc#demos)<br>
|
| 189 |
+
[NeMo Documentation](https://docs.nvidia.com/nemo-framework/user-guide/latest/nemotoolkit/asr/models.html)<br>
|
| 190 |
+
|
| 191 |
+
## References:
|
| 192 |
+
[1] [Less is More: Accurate Speech Recognition & Translation without Web-Scale Data](https://www.isca-archive.org/interspeech_2024/puvvada24_interspeech.pdf)
|
| 193 |
+
|
| 194 |
+
[2] [Fast Conformer with Linearly Scalable Attention for Efficient Speech Recognition](https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=10389701)
|
| 195 |
+
|
| 196 |
+
[3] [Attention Is All You Need](https://arxiv.org/abs/1706.03762)
|
| 197 |
+
|
| 198 |
+
[4] [Qwen/Qwen3-1.7B Model Card](https://huggingface.co/Qwen/Qwen3-1.7B)
|
| 199 |
+
|
| 200 |
+
[5] [Training and Inference Efficiency of Encoder-Decoder Speech Models](https://arxiv.org/abs/2503.05931)
|
| 201 |
+
|
| 202 |
+
[6] [NVIDIA NeMo Toolkit](https://github.com/NVIDIA/NeMo)
|
| 203 |
+
|
| 204 |
+
[7] [Granary: Speech Recognition and Translation Dataset in 25 European Languages](https://arxiv.org/abs/2505.13404)
|
| 205 |
+
|
| 206 |
+
[8] [Towards Measuring Fairness in AI: the Casual Conversations Dataset](https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=9634168)
|
| 207 |
+
|
| 208 |
+
[9] [SALM: Speech-augmented Language Model with In-context Learning for Speech Recognition and Translation](https://arxiv.org/abs/2310.09424)
|
| 209 |
+
|
| 210 |
+
### Deployment Geography:
|
| 211 |
+
|
| 212 |
+
Global
|
| 213 |
+
|
| 214 |
+
### Use Case:
|
| 215 |
+
|
| 216 |
+
The model is intended for users requiring speech-to-text transcription capabilities for English speech, and/or transcript post-processing capabilities enabled by prompting the underlying LLMs. Typical use-cases: transcription, summarization, answering user questions about the transcript.
|
| 217 |
+
|
| 218 |
+
### Release Date:
|
| 219 |
+
|
| 220 |
+
Huggingface 07/17/2025 via https://huggingface.co/nvidia/canary-qwen-2.5b
|
| 221 |
+
|
| 222 |
+
## Discover more from NVIDIA:
|
| 223 |
+
For documentation, deployment guides, enterprise-ready APIs, and the latest open models—including Nemotron and other cutting-edge speech, translation, and generative AI—visit the NVIDIA Developer Portal at [developer.nvidia.com](https://developer.nvidia.com/).
|
| 224 |
+
Join the community to access tools, support, and resources to accelerate your development with NVIDIA’s NeMo, Riva, NIM, and foundation models.<br>
|
| 225 |
+
|
| 226 |
+
### Explore more from NVIDIA: <br>
|
| 227 |
+
What is [Nemotron](https://www.nvidia.com/en-us/ai-data-science/foundation-models/nemotron/)?<br>
|
| 228 |
+
NVIDIA Developer [Nemotron](https://developer.nvidia.com/nemotron)<br>
|
| 229 |
+
[NVIDIA Riva Speech](https://developer.nvidia.com/riva?sortBy=developer_learning_library%2Fsort%2Ffeatured_in.riva%3Adesc%2Ctitle%3Aasc#demos)<br>
|
| 230 |
+
[NeMo Documentation](https://docs.nvidia.com/nemo-framework/user-guide/latest/nemotoolkit/asr/models.html)<br>
|
| 231 |
+
|
| 232 |
+
## Model Architecture:
|
| 233 |
+
Canary-Qwen is a Speech-Augmented Language Model (SALM) [9] model with FastConformer [2] Encoder and Transformer Decoder [3]. It is built using two base models: `nvidia/canary-1b-flash` [1,5] and `Qwen/Qwen3-1.7B` [4], a linear projection, and low-rank adaptation (LoRA) applied to the LLM. The audio encoder computes audio representation that is mapped to the LLM embedding space via a linear projection, and concatenated with the embeddings of text tokens. The model is prompted with "Transcribe the following: <audio>", using Qwen's chat template.
|
| 234 |
+
|
| 235 |
+
### Limitations
|
| 236 |
+
|
| 237 |
+
**Input length.** The maximum audio duration in training was 40s, and the maximum token sequence length was 1024 tokens (including prompt, audio, and response). The model may technically be able to process longer sequences, but its accuracy may be degraded.
|
| 238 |
+
|
| 239 |
+
**Exclusively ASR oriented capabilities.** The model is not expected to preserve any of the underlying LLM's capabilities into speech modality.
|
| 240 |
+
|
| 241 |
+
**English-only language support.** The model was trained using English data only. It may be able to spuriously transcribe other languages as the underlying encoder was pretrained using German, French, and Spanish speech in addition to English, but it's unlikely to be reliable as a multilingual model.
|
| 242 |
+
|
| 243 |
+
## NVIDIA NeMo
|
| 244 |
+
|
| 245 |
+
To train, fine-tune or transcribe with Canary-Qwen-2.5B, you will need to install [NVIDIA NeMo](https://github.com/NVIDIA/NeMo).
|
| 246 |
+
|
| 247 |
+
```bash
|
| 248 |
+
# Currently requires installing the latest trunk version of NeMo, and PyTorch 2.6+ for FSDP2 support.
|
| 249 |
+
python -m pip install "nemo_toolkit[asr,tts] @ git+https://github.com/NVIDIA/NeMo.git"
|
| 250 |
+
```
|
| 251 |
+
|
| 252 |
+
## How to Use this Model
|
| 253 |
+
|
| 254 |
+
The model is available for use in the NVIDIA NeMo toolkit [6], and can be used as a pre-trained checkpoint for inference or for fine-tuning on another dataset.
|
| 255 |
+
|
| 256 |
+
### Loading the Model
|
| 257 |
+
|
| 258 |
+
```python
|
| 259 |
+
from nemo.collections.speechlm2.models import SALM
|
| 260 |
+
|
| 261 |
+
model = SALM.from_pretrained('nvidia/canary-qwen-2.5b')
|
| 262 |
+
```
|
| 263 |
+
|
| 264 |
+
## Input:
|
| 265 |
+
|
| 266 |
+
**Input Type(s):** Audio, text prompt <br>
|
| 267 |
+
**Input Format(s):** Audio: .wav or .flac files. Text prompt string for ASR mode: `Transcribe the following: <|audioplaceholder|>` <br>
|
| 268 |
+
**Input Parameters(s):** Audio: Two-Dimensional (batch, audio-samples); Text: One-Dimensional (string) <br>
|
| 269 |
+
**Other Properties Related to Input:** 16000 Hz Mono-channel Audio, Pre-Processing Not Needed <br>
|
| 270 |
+
|
| 271 |
+
Input to Canary-Qwen-2.5B is a batch of prompts that include audio.
|
| 272 |
+
|
| 273 |
+
Example usage in ASR mode (speech-to-text):
|
| 274 |
+
|
| 275 |
+
```python
|
| 276 |
+
answer_ids = model.generate(
|
| 277 |
+
prompts=[
|
| 278 |
+
[{"role": "user", "content": f"Transcribe the following: {model.audio_locator_tag}", "audio": ["speech.wav"]}]
|
| 279 |
+
],
|
| 280 |
+
max_new_tokens=128,
|
| 281 |
+
)
|
| 282 |
+
print(model.tokenizer.ids_to_text(answer_ids[0].cpu()))
|
| 283 |
+
```
|
| 284 |
+
|
| 285 |
+
Example usage in LLM mode (text-only):
|
| 286 |
+
|
| 287 |
+
```python
|
| 288 |
+
prompt = "..."
|
| 289 |
+
transcript = "..."
|
| 290 |
+
with model.llm.disable_adapter():
|
| 291 |
+
answer_ids = model.generate(
|
| 292 |
+
prompts=[[{"role": "user", "content": f"{prompt}\n\n{transcript}"}]],
|
| 293 |
+
max_new_tokens=2048,
|
| 294 |
+
)
|
| 295 |
+
```
|
| 296 |
+
|
| 297 |
+
To transcribe a dataset of recordings, specify the input as jsonl manifest file, where each line in the file is a dictionary containing the following fields:
|
| 298 |
+
|
| 299 |
+
```yaml
|
| 300 |
+
# Example of a line in input_manifest.json
|
| 301 |
+
{
|
| 302 |
+
"audio_filepath": "/path/to/audio.wav", # path to the audio file
|
| 303 |
+
"duration": 30.0, # duration of the audio
|
| 304 |
+
}
|
| 305 |
+
```
|
| 306 |
+
|
| 307 |
+
and then use:
|
| 308 |
+
```bash
|
| 309 |
+
cd NeMo
|
| 310 |
+
python examples/speechlm2/salm_generate.py \
|
| 311 |
+
pretrained_name=nvidia/canary-qwen-2.5b \
|
| 312 |
+
inputs=input_manifest.json \
|
| 313 |
+
output_manifest=generations.jsonl \
|
| 314 |
+
batch_size=128 \
|
| 315 |
+
user_prompt="Transcribe the following:" # audio locator is added automatically at the end if not present
|
| 316 |
+
```
|
| 317 |
+
|
| 318 |
+
## Output:
|
| 319 |
+
**Output Type(s):** Text <br>
|
| 320 |
+
**Output Format:** Text transcript as a sequence of token IDs or a string <br>
|
| 321 |
+
**Output Parameters:** One-Dimensional text string <br>
|
| 322 |
+
**Other Properties Related to Output:** May Need Inverse Text Normalization <br>
|
| 323 |
+
|
| 324 |
+
Our AI models are designed and/or optimized to run on NVIDIA GPU-accelerated systems. By leveraging NVIDIA’s hardware (e.g. GPU cores) and software frameworks (e.g., CUDA libraries), the model achieves faster training and inference times compared to CPU-only solutions.
|
| 325 |
+
|
| 326 |
+
## Software Integration:
|
| 327 |
+
**Runtime Engine(s):**
|
| 328 |
+
* NeMo - 2.5.0 or higher <br>
|
| 329 |
+
|
| 330 |
+
**Supported Hardware Microarchitecture Compatibility:** <br>
|
| 331 |
+
* [NVIDIA Ampere] <br>
|
| 332 |
+
* [NVIDIA Blackwell] <br>
|
| 333 |
+
* [NVIDIA Jetson] <br>
|
| 334 |
+
* [NVIDIA Hopper] <br>
|
| 335 |
+
* [NVIDIA Lovelace] <br>
|
| 336 |
+
* [NVIDIA Pascal] <br>
|
| 337 |
+
* [NVIDIA Turing] <br>
|
| 338 |
+
* [NVIDIA Volta] <br>
|
| 339 |
+
|
| 340 |
+
**[Preferred/Supported] Operating System(s):** <br>
|
| 341 |
+
* [Linux] <br>
|
| 342 |
+
* [Linux 4 Tegra] <br>
|
| 343 |
+
* [Windows] <br>
|
| 344 |
+
|
| 345 |
+
## Model Version(s):
|
| 346 |
+
Canary-Qwen-2.5B <br>
|
| 347 |
+
|
| 348 |
+
## Training
|
| 349 |
+
|
| 350 |
+
Canary-Qwen-2.5B was trained using the NVIDIA NeMo toolkit [6] for a total of 90k steps on 32 NVIDIA A100 80GB GPUs. LLM parameters were kept frozen. Speech encoder, projection, and LoRA parameters were trainable. The encoder's output frame rate is 80ms, or 12.5 tokens per second. The model was trained on approximately 1.3B tokens in total (this number inlcudes the speech encoder output frames, text response tokens, prompt tokens, and chat template tokens).
|
| 351 |
+
|
| 352 |
+
The model can be trained using this [example script](https://github.com/NVIDIA/NeMo/blob/main/examples/speechlm2/salm_train.py) and [base config](https://github.com/NVIDIA/NeMo/blob/main/examples/speechlm2/conf/salm.yaml).
|
| 353 |
+
|
| 354 |
+
The tokenizer was inherited from `Qwen/Qwen3-1.7B`.
|
| 355 |
+
|
| 356 |
+
# Training and Evaluation Datasets:
|
| 357 |
+
|
| 358 |
+
## Training Dataset:
|
| 359 |
+
|
| 360 |
+
** The total size (in number of data points): approx. 40 million (speech, text) pairs
|
| 361 |
+
** Total number of datasets: 26, with 18 for training and 8 for test
|
| 362 |
+
** Dataset partition: Training 99.6%, testing 0.04%, validation 0%
|
| 363 |
+
** Time period for training data collection: 1990-2025
|
| 364 |
+
** Time period for testing data collection: 2005-2022
|
| 365 |
+
** Time period for validation data collection N/A (unused)
|
| 366 |
+
|
| 367 |
+
The Canary-Qwen-2.5B model is trained on a total of 234K hrs of publicly available speech data.
|
| 368 |
+
The datasets below include conversations, videos from the web and audiobook recordings.
|
| 369 |
+
|
| 370 |
+
**Data Collection Method:**
|
| 371 |
+
* Human <br>
|
| 372 |
+
|
| 373 |
+
**Labeling Method:**
|
| 374 |
+
* Hybrid: Human, Automated <br>
|
| 375 |
+
|
| 376 |
+
### Properties
|
| 377 |
+
|
| 378 |
+
#### English (234.5k hours)
|
| 379 |
+
|
| 380 |
+
The majority of the training data comes from the English portion of the Granary dataset [7]:
|
| 381 |
+
|
| 382 |
+
- YouTube-Commons (YTC) (109.5k hours)
|
| 383 |
+
- YODAS2 (77k hours)
|
| 384 |
+
- LibriLight (13.6k hours)
|
| 385 |
+
|
| 386 |
+
In addition, the following datasets were used:
|
| 387 |
+
- Librispeech 960 hours
|
| 388 |
+
- Fisher Corpus
|
| 389 |
+
- Switchboard-1 Dataset
|
| 390 |
+
- WSJ-0 and WSJ-1
|
| 391 |
+
- National Speech Corpus (Part 1, Part 6)
|
| 392 |
+
- VCTK
|
| 393 |
+
- VoxPopuli (EN)
|
| 394 |
+
- Europarl-ASR (EN)
|
| 395 |
+
- Multilingual Librispeech (MLS EN)
|
| 396 |
+
- Mozilla Common Voice (v11.0)
|
| 397 |
+
- Mozilla Common Voice (v7.0)
|
| 398 |
+
- Mozilla Common Voice (v4.0)
|
| 399 |
+
- AMI
|
| 400 |
+
- FLEURS
|
| 401 |
+
|
| 402 |
+
AMI was oversampled during model training to constitute about 15% of the total data observed.
|
| 403 |
+
This skewed the model towards predicting verbatim transcripts that include conversational speech disfluencies such as repetitions.
|
| 404 |
+
|
| 405 |
+
The training transcripts contained punctuation and capitalization.
|
| 406 |
+
|
| 407 |
+
## Evaluation Dataset:
|
| 408 |
+
|
| 409 |
+
**Data Collection Method:** <br>
|
| 410 |
+
* Human <br>
|
| 411 |
+
|
| 412 |
+
**Labeling Method:** <br>
|
| 413 |
+
* Human <br>
|
| 414 |
+
|
| 415 |
+
Automatic Speech Recognition:
|
| 416 |
+
* [HuggingFace OpenASR Leaderboard evaluation sets](https://huggingface.co/spaces/hf-audio/open_asr_leaderboard)
|
| 417 |
+
|
| 418 |
+
Hallucination Robustness:
|
| 419 |
+
* [MUSAN](https://www.openslr.org/17/) 48 hrs eval set
|
| 420 |
+
|
| 421 |
+
Noise Robustness:
|
| 422 |
+
* [Librispeech](https://www.openslr.org/12)
|
| 423 |
+
|
| 424 |
+
Model Fairness:
|
| 425 |
+
* [Casual Conversations Dataset](https://arxiv.org/pdf/2104.02821)
|
| 426 |
+
|
| 427 |
+
## Performance
|
| 428 |
+
|
| 429 |
+
The ASR predictions were generated using greedy decoding.
|
| 430 |
+
|
| 431 |
+
### ASR Performance (w/o PnC)
|
| 432 |
+
|
| 433 |
+
The ASR performance is measured with word error rate (WER), and we process the groundtruth and predicted text with [whisper-normalizer](https://pypi.org/project/whisper-normalizer/) version 0.1.12.
|
| 434 |
+
|
| 435 |
+
WER on [HuggingFace OpenASR leaderboard](https://huggingface.co/spaces/hf-audio/open_asr_leaderboard):
|
| 436 |
+
|
| 437 |
+
| **Version** | **Model** | **RTFx** | **Mean** | **AMI** | **GigaSpeech** | **LS Clean** | **LS Other** | **Earnings22** | **SPGISpech** | **Tedlium** | **Voxpopuli** |
|
| 438 |
+
|:---------:|:-----------:|:------:|:------:|:------:|:------:|:------:|:------:|:------:|:------:|:------:|:------:|
|
| 439 |
+
| 2.5.0 | Canary-Qwen-2.5B | 418 | 5.63 | 10.18 | 9.41 | 1.60 | 3.10 | 10.42 | 1.90 | 2.72 | 5.66 |
|
| 440 |
+
|
| 441 |
+
More details on evaluation can be found at [HuggingFace ASR Leaderboard](https://huggingface.co/spaces/hf-audio/open_asr_leaderboard)
|
| 442 |
+
|
| 443 |
+
### Hallucination Robustness
|
| 444 |
+
Number of characters per minute on [MUSAN](https://www.openslr.org/17) 48 hrs eval set (`max_new_tokens=50` following `nvidia/canary-1b-flash` evaluation)
|
| 445 |
+
| **Version** | **Model** | **# of character per minute** |
|
| 446 |
+
|:-----------:|:---------:|:----------:|
|
| 447 |
+
| 2.5.0 | Canary-Qwen-2.5B | 138.1 |
|
| 448 |
+
|
| 449 |
+
### Noise Robustness
|
| 450 |
+
WER on [Librispeech Test Clean](https://www.openslr.org/12) at different SNR (signal to noise ratio) levels of additive white noise
|
| 451 |
+
|
| 452 |
+
| **Version** | **Model** | **SNR 10** | **SNR 5** | **SNR 0** | **SNR -5** |
|
| 453 |
+
|:-----------:|:---------:|:----------:|:----------:|:----------:|:----------:|
|
| 454 |
+
| 2.5.0 | Canary-Qwen-2.5B | 2.41% | 4.08% | 9.83% | 30.60% |
|
| 455 |
+
|
| 456 |
+
## Model Fairness Evaluation
|
| 457 |
+
|
| 458 |
+
As outlined in the paper "Towards Measuring Fairness in AI: the Casual Conversations Dataset" [8], we assessed the Canary-Qwen-2.5B model for fairness. The model was evaluated on the CasualConversations-v1 dataset with inference done on non-overlapping 40s chunks, and the results are reported as follows:
|
| 459 |
+
|
| 460 |
+
### Gender Bias:
|
| 461 |
+
|
| 462 |
+
| Gender | Male | Female | N/A | Other |
|
| 463 |
+
| :--- | :--- | :--- | :--- | :--- |
|
| 464 |
+
| Num utterances | 18471 | 23378 | 880 | 18 |
|
| 465 |
+
| % WER | 16.71 | 13.85 | 17.71 | 29.46 |
|
| 466 |
+
|
| 467 |
+
### Age Bias:
|
| 468 |
+
|
| 469 |
+
| Age Group | (18-30) | (31-45) | (46-85) | (1-100) |
|
| 470 |
+
| :--- | :--- | :--- | :--- | :--- |
|
| 471 |
+
| Num utterances | 15058 | 13984 | 12810 | 41852 |
|
| 472 |
+
| % WER | 15.73 | 15.3 | 14.14 | 15.11 |
|
| 473 |
+
|
| 474 |
+
(Error rates for fairness evaluation are determined by normalizing both the reference and predicted text, similar to the methods used in the evaluations found at https://github.com/huggingface/open_asr_leaderboard.)
|
| 475 |
+
|
| 476 |
+
## Inference:
|
| 477 |
+
**Engine:** NVIDIA NeMo <br>
|
| 478 |
+
**Test Hardware :** <br>
|
| 479 |
+
* A6000 <br>
|
| 480 |
+
* A100 <br>
|
| 481 |
+
* RTX 5090 <br>
|
| 482 |
+
|
| 483 |
+
## Ethical Considerations:
|
| 484 |
+
NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.
|
| 485 |
+
For more detailed information on ethical considerations for this model, please see the Model Card++ Explainability, Bias, Safety & Security, and Privacy Subcards. Please report security vulnerabilities or NVIDIA AI Concerns [here](https://www.nvidia.com/en-us/support/submit-security-vulnerability/).
|
config.json
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"audio_locator_tag": "<|audioplaceholder|>",
|
| 3 |
+
"freeze_params": [
|
| 4 |
+
"^llm\\..+$",
|
| 5 |
+
"^embed_tokens\\..+$"
|
| 6 |
+
],
|
| 7 |
+
"lora": {
|
| 8 |
+
"lora_alpha": 256,
|
| 9 |
+
"lora_dropout": 0.01,
|
| 10 |
+
"r": 128,
|
| 11 |
+
"target_modules": [
|
| 12 |
+
"q_proj",
|
| 13 |
+
"v_proj"
|
| 14 |
+
],
|
| 15 |
+
"task_type": "CAUSAL_LM"
|
| 16 |
+
},
|
| 17 |
+
"lr_scheduler": {
|
| 18 |
+
"_target_": "nemo.core.optim.lr_scheduler.CosineAnnealing",
|
| 19 |
+
"max_steps": 100000,
|
| 20 |
+
"min_lr": 1e-06,
|
| 21 |
+
"warmup_steps": 1000
|
| 22 |
+
},
|
| 23 |
+
"optimizer": {
|
| 24 |
+
"_target_": "torch.optim.AdamW",
|
| 25 |
+
"betas": [
|
| 26 |
+
0.9,
|
| 27 |
+
0.98
|
| 28 |
+
],
|
| 29 |
+
"foreach": true,
|
| 30 |
+
"lr": 0.0005,
|
| 31 |
+
"weight_decay": 0.001
|
| 32 |
+
},
|
| 33 |
+
"perception": {
|
| 34 |
+
"encoder": {
|
| 35 |
+
"_target_": "nemo.collections.asr.modules.ConformerEncoder",
|
| 36 |
+
"att_context_size": [
|
| 37 |
+
-1,
|
| 38 |
+
-1
|
| 39 |
+
],
|
| 40 |
+
"causal_downsampling": false,
|
| 41 |
+
"conv_context_size": null,
|
| 42 |
+
"conv_kernel_size": 9,
|
| 43 |
+
"conv_norm_type": "batch_norm",
|
| 44 |
+
"d_model": 1024,
|
| 45 |
+
"dropout": 0.1,
|
| 46 |
+
"dropout_att": 0.1,
|
| 47 |
+
"dropout_emb": 0.0,
|
| 48 |
+
"dropout_pre_encoder": 0.1,
|
| 49 |
+
"feat_in": 128,
|
| 50 |
+
"feat_out": -1,
|
| 51 |
+
"ff_expansion_factor": 4,
|
| 52 |
+
"n_heads": 8,
|
| 53 |
+
"n_layers": 32,
|
| 54 |
+
"pos_emb_max_len": 5000,
|
| 55 |
+
"reduction": null,
|
| 56 |
+
"reduction_factor": 1,
|
| 57 |
+
"reduction_position": null,
|
| 58 |
+
"self_attention_model": "rel_pos",
|
| 59 |
+
"subsampling": "dw_striding",
|
| 60 |
+
"subsampling_conv_channels": 256,
|
| 61 |
+
"subsampling_factor": 8,
|
| 62 |
+
"untie_biases": true,
|
| 63 |
+
"xscaling": false
|
| 64 |
+
},
|
| 65 |
+
"modality_adapter": {
|
| 66 |
+
"_target_": "nemo.collections.speechlm2.modules.perception.IdentityConnector",
|
| 67 |
+
"d_model": 1024
|
| 68 |
+
},
|
| 69 |
+
"output_dim": 2048,
|
| 70 |
+
"preprocessor": {
|
| 71 |
+
"_target_": "nemo.collections.asr.modules.AudioToMelSpectrogramPreprocessor",
|
| 72 |
+
"dither": 1e-05,
|
| 73 |
+
"features": 128,
|
| 74 |
+
"frame_splicing": 1,
|
| 75 |
+
"log": true,
|
| 76 |
+
"n_fft": 512,
|
| 77 |
+
"normalize": "per_feature",
|
| 78 |
+
"pad_to": 0,
|
| 79 |
+
"pad_value": 0.0,
|
| 80 |
+
"sample_rate": 16000,
|
| 81 |
+
"window": "hann",
|
| 82 |
+
"window_size": 0.025,
|
| 83 |
+
"window_stride": 0.01
|
| 84 |
+
},
|
| 85 |
+
"target": "nemo.collections.speechlm2.modules.perception.AudioPerceptionModule"
|
| 86 |
+
},
|
| 87 |
+
"pretrained_asr": "nvidia/canary-1b-flash",
|
| 88 |
+
"pretrained_llm": "Qwen/Qwen3-1.7B",
|
| 89 |
+
"pretrained_weights": false,
|
| 90 |
+
"prevent_freeze_params": [
|
| 91 |
+
"^.+\\.lora_.+$"
|
| 92 |
+
],
|
| 93 |
+
"prompt_format": "qwen",
|
| 94 |
+
"torch_dtype": "bfloat16"
|
| 95 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:800cb0d099cf655a8887d8b741c3a4afa9891e2b2949870251c4d58c72b59175
|
| 3 |
+
size 5119120624
|