Shruti Telugu: card, NOTICE, LICENSE, banner, config.json, shruti-telugu.cact (te-main-1)
Browse files- .gitattributes +1 -0
- LICENSE +202 -0
- NOTICE +21 -0
- README.md +187 -0
- banner.png +0 -0
- config.json +13 -0
- shruti-telugu.cact +3 -0
.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 |
+
shruti-telugu.cact filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Apache License
|
| 3 |
+
Version 2.0, January 2004
|
| 4 |
+
http://www.apache.org/licenses/
|
| 5 |
+
|
| 6 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 7 |
+
|
| 8 |
+
1. Definitions.
|
| 9 |
+
|
| 10 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 11 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 12 |
+
|
| 13 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 14 |
+
the copyright owner that is granting the License.
|
| 15 |
+
|
| 16 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 17 |
+
other entities that control, are controlled by, or are under common
|
| 18 |
+
control with that entity. For the purposes of this definition,
|
| 19 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 20 |
+
direction or management of such entity, whether by contract or
|
| 21 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 22 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 23 |
+
|
| 24 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 25 |
+
exercising permissions granted by this License.
|
| 26 |
+
|
| 27 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 28 |
+
including but not limited to software source code, documentation
|
| 29 |
+
source, and configuration files.
|
| 30 |
+
|
| 31 |
+
"Object" form shall mean any form resulting from mechanical
|
| 32 |
+
transformation or translation of a Source form, including but
|
| 33 |
+
not limited to compiled object code, generated documentation,
|
| 34 |
+
and conversions to other media types.
|
| 35 |
+
|
| 36 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 37 |
+
Object form, made available under the License, as indicated by a
|
| 38 |
+
copyright notice that is included in or attached to the work
|
| 39 |
+
(an example is provided in the Appendix below).
|
| 40 |
+
|
| 41 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 42 |
+
form, that is based on (or derived from) the Work and for which the
|
| 43 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 44 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 45 |
+
of this License, Derivative Works shall not include works that remain
|
| 46 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 47 |
+
the Work and Derivative Works thereof.
|
| 48 |
+
|
| 49 |
+
"Contribution" shall mean any work of authorship, including
|
| 50 |
+
the original version of the Work and any modifications or additions
|
| 51 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 52 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 53 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 54 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 55 |
+
means any form of electronic, verbal, or written communication sent
|
| 56 |
+
to the Licensor or its representatives, including but not limited to
|
| 57 |
+
communication on electronic mailing lists, source code control systems,
|
| 58 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 59 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 60 |
+
excluding communication that is conspicuously marked or otherwise
|
| 61 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 62 |
+
|
| 63 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 64 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 65 |
+
subsequently incorporated within the Work.
|
| 66 |
+
|
| 67 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 68 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 69 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 70 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 71 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 72 |
+
Work and such Derivative Works in Source or Object form.
|
| 73 |
+
|
| 74 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 75 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 76 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 77 |
+
(except as stated in this section) patent license to make, have made,
|
| 78 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 79 |
+
where such license applies only to those patent claims licensable
|
| 80 |
+
by such Contributor that are necessarily infringed by their
|
| 81 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 82 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 83 |
+
institute patent litigation against any entity (including a
|
| 84 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 85 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 86 |
+
or contributory patent infringement, then any patent licenses
|
| 87 |
+
granted to You under this License for that Work shall terminate
|
| 88 |
+
as of the date such litigation is filed.
|
| 89 |
+
|
| 90 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 91 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 92 |
+
modifications, and in Source or Object form, provided that You
|
| 93 |
+
meet the following conditions:
|
| 94 |
+
|
| 95 |
+
(a) You must give any other recipients of the Work or
|
| 96 |
+
Derivative Works a copy of this License; and
|
| 97 |
+
|
| 98 |
+
(b) You must cause any modified files to carry prominent notices
|
| 99 |
+
stating that You changed the files; and
|
| 100 |
+
|
| 101 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 102 |
+
that You distribute, all copyright, patent, trademark, and
|
| 103 |
+
attribution notices from the Source form of the Work,
|
| 104 |
+
excluding those notices that do not pertain to any part of
|
| 105 |
+
the Derivative Works; and
|
| 106 |
+
|
| 107 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 108 |
+
distribution, then any Derivative Works that You distribute must
|
| 109 |
+
include a readable copy of the attribution notices contained
|
| 110 |
+
within such NOTICE file, excluding those notices that do not
|
| 111 |
+
pertain to any part of the Derivative Works, in at least one
|
| 112 |
+
of the following places: within a NOTICE text file distributed
|
| 113 |
+
as part of the Derivative Works; within the Source form or
|
| 114 |
+
documentation, if provided along with the Derivative Works; or,
|
| 115 |
+
within a display generated by the Derivative Works, if and
|
| 116 |
+
wherever such third-party notices normally appear. The contents
|
| 117 |
+
of the NOTICE file are for informational purposes only and
|
| 118 |
+
do not modify the License. You may add Your own attribution
|
| 119 |
+
notices within Derivative Works that You distribute, alongside
|
| 120 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 121 |
+
that such additional attribution notices cannot be construed
|
| 122 |
+
as modifying the License.
|
| 123 |
+
|
| 124 |
+
You may add Your own copyright statement to Your modifications and
|
| 125 |
+
may provide additional or different license terms and conditions
|
| 126 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 127 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 128 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 129 |
+
the conditions stated in this License.
|
| 130 |
+
|
| 131 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 132 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 133 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 134 |
+
this License, without any additional terms or conditions.
|
| 135 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 136 |
+
the terms of any separate license agreement you may have executed
|
| 137 |
+
with Licensor regarding such Contributions.
|
| 138 |
+
|
| 139 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 140 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 141 |
+
except as required for reasonable and customary use in describing the
|
| 142 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 143 |
+
|
| 144 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 145 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 146 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 147 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 148 |
+
implied, including, without limitation, any warranties or conditions
|
| 149 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 150 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 151 |
+
appropriateness of using or redistributing the Work and assume any
|
| 152 |
+
risks associated with Your exercise of permissions under this License.
|
| 153 |
+
|
| 154 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 155 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 156 |
+
unless required by applicable law (such as deliberate and grossly
|
| 157 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 158 |
+
liable to You for damages, including any direct, indirect, special,
|
| 159 |
+
incidental, or consequential damages of any character arising as a
|
| 160 |
+
result of this License or out of the use or inability to use the
|
| 161 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 162 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 163 |
+
other commercial damages or losses), even if such Contributor
|
| 164 |
+
has been advised of the possibility of such damages.
|
| 165 |
+
|
| 166 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 167 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 168 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 169 |
+
or other liability obligations and/or rights consistent with this
|
| 170 |
+
License. However, in accepting such obligations, You may act only
|
| 171 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 172 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 173 |
+
defend, and hold each Contributor harmless for any liability
|
| 174 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 175 |
+
of your accepting any such warranty or additional liability.
|
| 176 |
+
|
| 177 |
+
END OF TERMS AND CONDITIONS
|
| 178 |
+
|
| 179 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 180 |
+
|
| 181 |
+
To apply the Apache License to your work, attach the following
|
| 182 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 183 |
+
replaced with your own identifying information. (Don't include
|
| 184 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 185 |
+
comment syntax for the file format. We also recommend that a
|
| 186 |
+
file or class name and description of purpose be included on the
|
| 187 |
+
same "printed page" as the copyright notice for easier
|
| 188 |
+
identification within third-party archives.
|
| 189 |
+
|
| 190 |
+
Copyright [yyyy] [name of copyright owner]
|
| 191 |
+
|
| 192 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 193 |
+
you may not use this file except in compliance with the License.
|
| 194 |
+
You may obtain a copy of the License at
|
| 195 |
+
|
| 196 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 197 |
+
|
| 198 |
+
Unless required by applicable law or agreed to in writing, software
|
| 199 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 200 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 201 |
+
See the License for the specific language governing permissions and
|
| 202 |
+
limitations under the License.
|
NOTICE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Shruti Telugu
|
| 2 |
+
Copyright 2026 Udgam Labs
|
| 3 |
+
|
| 4 |
+
This product is a modified version of Shruti Hindi (https://huggingface.co/udgamlabs/Shruti, Udgam Labs, Apache-2.0),
|
| 5 |
+
which is itself a modified version of Cactus Whistle (https://huggingface.co/Cactus-Compute/whistle), copyright Cactus
|
| 6 |
+
Compute, licensed under the Apache License, Version 2.0.
|
| 7 |
+
|
| 8 |
+
Changes made by Udgam Labs: added 700 Telugu vocabulary pieces to Shruti Hindi's vocabulary and used its Hindi
|
| 9 |
+
language tag for Telugu; retrained all model weights on Telugu and English speech with quantisation-aware training;
|
| 10 |
+
exported as shruti-telugu.cact.
|
| 11 |
+
|
| 12 |
+
The model runs in the Cactus needle engine (https://huggingface.co/Cactus-Compute/needle3), Apache-2.0, which is not
|
| 13 |
+
included in this repository.
|
| 14 |
+
|
| 15 |
+
Training data (all licensed for commercial use; credit appreciated):
|
| 16 |
+
- AI4Bharat IndicVoices, Telugu (CC-BY-4.0)
|
| 17 |
+
- AI4Bharat Kathbath, Telugu (CC-BY-4.0)
|
| 18 |
+
- ARTPARK-IISc Vaani, Telugu (transcribed part) (CC-BY-4.0)
|
| 19 |
+
- English reused from Shruti Hindi's training data: LibriSpeech (CC-BY-4.0), Mozilla Common Voice 17 English (CC0-1.0),
|
| 20 |
+
AI4Bharat NPTEL (CC-BY-4.0)
|
| 21 |
+
Shruti Hindi's own training data (Hindi and English) is listed in its NOTICE.
|
README.md
ADDED
|
@@ -0,0 +1,187 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- te
|
| 5 |
+
- en
|
| 6 |
+
pipeline_tag: automatic-speech-recognition
|
| 7 |
+
library_name: cactus-needle
|
| 8 |
+
base_model: udgamlabs/Shruti
|
| 9 |
+
tags:
|
| 10 |
+
- udgamlabs
|
| 11 |
+
- shruti
|
| 12 |
+
- speech-recognition
|
| 13 |
+
- telugu
|
| 14 |
+
- code-switching
|
| 15 |
+
- on-device
|
| 16 |
+
- offline
|
| 17 |
+
- webassembly
|
| 18 |
+
- small-model
|
| 19 |
+
datasets:
|
| 20 |
+
- ai4bharat/IndicVoices
|
| 21 |
+
- ai4bharat/Kathbath
|
| 22 |
+
- ARTPARK-IISc/Vaani-transcription-part
|
| 23 |
+
- openslr/librispeech_asr
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+

|
| 27 |
+
|
| 28 |
+
**UDGAM LABS** · Speech-to-text model · 55.9M parameters · part of the Shruti family
|
| 29 |
+
|
| 30 |
+
# Shruti Telugu
|
| 31 |
+
|
| 32 |
+
**Shruti Telugu turns Telugu and English speech into text, offline, from one 29.7 MB file.** Telugu comes out in Telugu
|
| 33 |
+
script and English words stay in English, the way people actually type: *హైదరాబాద్లో కొత్త company నుంచి offer letter వచ్చింది*.
|
| 34 |
+
It runs on a phone, a laptop or inside a web page, with no server and no internet connection. On a 2021 Samsung Galaxy
|
| 35 |
+
F62 it transcribes 9.8x faster than real time using 64 MB of memory.
|
| 36 |
+
|
| 37 |
+
On everyday Telugu conversations that mix in English, scored with the English words written in English letters, it
|
| 38 |
+
makes fewer errors than IndicConformer Telugu (137.7 MB), a model almost five times its size, and than the Whisper
|
| 39 |
+
Telugu fine-tunes we tested, up to 32 times its size. On read Telugu those larger models are more accurate (see below).
|
| 40 |
+
Shruti Telugu is the Telugu member of the Shruti family, next to [Shruti Hindi](https://huggingface.co/udgamlabs/Shruti),
|
| 41 |
+
[Shruti Marathi](https://huggingface.co/udgamlabs/shruti-marathi),
|
| 42 |
+
[Shruti Tamil](https://huggingface.co/udgamlabs/shruti-tamil) and
|
| 43 |
+
[Shruti Bengali](https://huggingface.co/udgamlabs/shruti-bengali), and is built on
|
| 44 |
+
[Cactus Whistle](https://huggingface.co/Cactus-Compute/whistle) (Apache-2.0) via Shruti Hindi: we retrained all its
|
| 45 |
+
weights on openly licensed Telugu and English speech and added 700 Telugu vocabulary pieces.
|
| 46 |
+
|
| 47 |
+
*Shruti* (శ్రుతి) is Sanskrit for "that which is heard".
|
| 48 |
+
|
| 49 |
+
**Try it:** [in your browser, on your own device](https://udgamlabs.com/models/shruti?lang=te) · [demo on Hugging Face](https://huggingface.co/spaces/udgamlabs/Shruti) · **Code and examples:** [github.com/udgamlabs/shruti](https://github.com/udgamlabs/shruti/blob/main/docs/telugu.md)
|
| 50 |
+
|
| 51 |
+
```
|
| 52 |
+
Audio (Telugu with English, AI voice) Shruti Telugu writes (in the phone's browser, unedited)
|
| 53 |
+
"హైదరాబాద్ లో కొత్త company నుంచి..." -> హైదరాబాద్లో కొత్త company నుంచి offer letter వచ్చింది monday నుంచి join అవ్వాలి
|
| 54 |
+
"...ఆరు గంటల first show కి..." -> రేపు ఉదయం ఆరు గంటల first షోకి నాలుగు tickets దొరికాయి అందరూ ముందే theatre దగ్గర ఉండండి
|
| 55 |
+
```
|
| 56 |
+
(The first line shows one spacing difference: హైదరాబాద్ లో written as one word. The second shows a real error of a
|
| 57 |
+
common kind: "show" written in Telugu script.)
|
| 58 |
+
|
| 59 |
+
| | |
|
| 60 |
+
|---|---|
|
| 61 |
+
| Developer | Udgam Labs |
|
| 62 |
+
| Base model | Shruti Hindi (Udgam Labs), built on Cactus Whistle (Cactus Compute); both Apache-2.0 |
|
| 63 |
+
| Parameters | 55.9M (8 encoder + 8 decoder layers, width 512) |
|
| 64 |
+
| File | `shruti-telugu.cact`, 29.7 MB (4-bit weights, 8-bit activations) for the Cactus needle engine |
|
| 65 |
+
| Input / output | 16 kHz audio of any length → text; Telugu in Telugu script, English words in lowercase Latin |
|
| 66 |
+
| Languages | Telugu, English, and Telugu mixed with English. For Hindi use Shruti Hindi; for Marathi, Shruti Marathi; for Tamil, Shruti Tamil; for Bengali, Shruti Bengali |
|
| 67 |
+
| Runtime | [Cactus needle](https://huggingface.co/Cactus-Compute/needle3) engine (Apache-2.0), native and WebAssembly; we measured it on a Mac, an Android phone and that phone's Chrome |
|
| 68 |
+
| Licence | Apache-2.0 |
|
| 69 |
+
|
| 70 |
+
## Quick start
|
| 71 |
+
|
| 72 |
+
```bash
|
| 73 |
+
pip install cactus-needle
|
| 74 |
+
hf download udgamlabs/shruti-telugu shruti-telugu.cact config.json --local-dir .
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
```python
|
| 78 |
+
from needle import Whistle
|
| 79 |
+
|
| 80 |
+
model = Whistle("shruti-telugu.cact")
|
| 81 |
+
print(model.transcribe("clip.wav")) # Telugu or English is detected automatically
|
| 82 |
+
```
|
| 83 |
+
|
| 84 |
+
The `cactus-needle` Python package sends anonymous usage counts by default; set `NEEDLE_TELEMETRY=0` to turn that off.
|
| 85 |
+
Command line: `./needle --model shruti-telugu.cact --audio clip.wav` with the `needle` binary for your platform from
|
| 86 |
+
[Cactus-Compute/needle3](https://huggingface.co/Cactus-Compute/needle3). In the browser, the `wasm/` build of the same
|
| 87 |
+
engine runs it inside a web page; [udgamlabs.com/models/shruti](https://udgamlabs.com/models/shruti?lang=te) is a
|
| 88 |
+
working page.
|
| 89 |
+
|
| 90 |
+
## Results
|
| 91 |
+
|
| 92 |
+
Word error rate (%, lower is better), 200 clips per set, the same clips and scorer for every model; Shruti Telugu in its
|
| 93 |
+
on-device engine on a Mac. Measured 2 November 2026. Size is the file as published by its makers (whisper.cpp q8_0 for
|
| 94 |
+
Whisper).
|
| 95 |
+
|
| 96 |
+
| Model | File size | FLEURS (read) | Kathbath test-unknown (read) | DiarBench, English in English (conversation, held out) | DiarBench, native reference |
|
| 97 |
+
|---|---|---|---|---|---|
|
| 98 |
+
| **Shruti Telugu** | **29.7 MB** | 38.0 | 32.9 | **45.4** | 58.0 |
|
| 99 |
+
| [Whisper tiny](https://huggingface.co/openai/whisper-tiny) | 43.5 MB | 687.8 | 583.3 | 659.1 | 665.9 |
|
| 100 |
+
| [Vosk Telugu](https://alphacephei.com/vosk/models) (small, 0.42) | 60.5 MB | 77.1 | 80.1 | 93.8 | 92.0 |
|
| 101 |
+
| [Whisper base](https://huggingface.co/openai/whisper-base) | 81.8 MB | 220.1 | 363.3 | 371.3 | 375.5 |
|
| 102 |
+
| [Dolphin base](https://huggingface.co/DataoceanAI/dolphin-base) (int8) | 103.7 MB | 73.4 | 66.2 | 86.9 | 90.3 |
|
| 103 |
+
| [IndicConformer Telugu](https://huggingface.co/OpenVoiceOS/ai4bharat-indicconformer-te-onnx) (int8) | 137.7 MB | 24.5 | 23.0 | 52.9 | 37.3 |
|
| 104 |
+
| [Whisper-tiny Telugu](https://huggingface.co/vasista22/whisper-telugu-tiny) (vasista22) | 151.1 MB | 34.2 | 34.4 | 59.2 | 47.5 |
|
| 105 |
+
| [Dolphin small](https://huggingface.co/DataoceanAI/dolphin-small) (int8) | 249.7 MB | 60.9 | 52.6 | 98.0 | 98.7 |
|
| 106 |
+
| [Whisper small](https://huggingface.co/openai/whisper-small) | 264.5 MB | 169.7 | 154.1 | 201.1 | 205.1 |
|
| 107 |
+
| [Whisper-base Telugu](https://huggingface.co/vasista22/whisper-telugu-base) (vasista22) | 290.5 MB | 28.9 | 29.5 | 55.3 | 41.3 |
|
| 108 |
+
| [SraVaani-1.0](https://huggingface.co/ARTPARK-IISc/SraVaani-1.0) | 908.8 MB | **22.0** | **20.3** | 47.8 | **33.0** |
|
| 109 |
+
| [Whisper-small Telugu](https://huggingface.co/vasista22/whisper-telugu-small) (vasista22) | 967.1 MB | 24.0 | 26.0 | 55.7 | 42.7 |
|
| 110 |
+
|
| 111 |
+
DiarBench is real conversation that mixes in English. The "English in English" column scores against references that
|
| 112 |
+
write English words in English (Latin script), as Shruti Telugu does; the native column drops the English words from
|
| 113 |
+
the reference. FLEURS and Kathbath are read Telugu.
|
| 114 |
+
|
| 115 |
+
- **Conversations that mix in English:** Shruti Telugu makes fewer errors than IndicConformer Telugu (45.4 vs 52.9;
|
| 116 |
+
paired 95% interval of the difference -10.7 to -4.5 points), the Whisper-small Telugu fine-tune (55.7; -13.5 to -7.1),
|
| 117 |
+
the Whisper-base Telugu fine-tune (55.3; -13.1 to -6.9) and the Whisper-tiny Telugu fine-tune (59.2; -16.9 to -10.6).
|
| 118 |
+
The much larger SraVaani-1.0 is level with it (47.8; -5.8 to +0.5). On the native reference, most larger models are
|
| 119 |
+
ahead.
|
| 120 |
+
- **English inside Telugu:** Shruti Telugu writes 53.7% of DiarBench's 1,016 English words in English; IndicConformer
|
| 121 |
+
Telugu, Vosk Telugu and the Whisper Telugu fine-tunes write none (0%), SraVaani-1.0 4.6%, and the other models above
|
| 122 |
+
20% or fewer.
|
| 123 |
+
- **Against Vosk Telugu** (about twice its size): about half the errors on every set (FLEURS 38.0 vs 77.1, Kathbath 32.9
|
| 124 |
+
vs 80.1, DiarBench 45.4 vs 93.8).
|
| 125 |
+
- **One file for two languages:** IndicConformer Telugu and Vosk Telugu are Telugu-only. Shruti Telugu also transcribes
|
| 126 |
+
English: LibriSpeech test-clean 6.22 (Shruti Hindi: 5.95).
|
| 127 |
+
- **Silence:** 0 words invented on 100 silent clips.
|
| 128 |
+
- **Held-out sets:** we did not train on FLEURS or DiarBench, or on Kathbath's unseen-speaker test set.
|
| 129 |
+
|
| 130 |
+
**Speed and memory** (offline): Samsung Galaxy F62 (2021, 6 GB RAM), native engine, 9.8x faster than real time, 64 MB
|
| 131 |
+
peak memory (20 clips). In that phone's Chrome, the page reports 2.9-4.5 s on the device for 6.8-9.0 s of speech.
|
| 132 |
+
|
| 133 |
+
## Where it falls short
|
| 134 |
+
|
| 135 |
+
- **Read Telugu accuracy.** IndicConformer Telugu (about 5x larger) makes about 36% fewer errors on FLEURS (24.5 vs
|
| 136 |
+
38.0) and 30% fewer on Kathbath (23.0 vs 32.9); SraVaani-1.0 (about 30x larger) and the Whisper-base and Whisper-small
|
| 137 |
+
Telugu fine-tunes are ahead on both read sets, and the Whisper-tiny Telugu fine-tune is ahead on FLEURS (34.2).
|
| 138 |
+
- **Conversations on the native reference.** When English words are dropped from the reference, most larger models are
|
| 139 |
+
ahead (SraVaani-1.0 33.0, IndicConformer Telugu 37.3, Shruti Telugu 58.0): Shruti Telugu keeps English words in English,
|
| 140 |
+
which that reference leaves out.
|
| 141 |
+
- **English words in Telugu script:** only about half of the English words come out in English letters; others are
|
| 142 |
+
written in Telugu script ("show" as షోకి, "online" as ఆన్లైన్లో).
|
| 143 |
+
- **Joins and spelling variants** count as errors and are common (తంగేడు పూలు as తంగేడుపూలు, ఆడుదాం as ఆడదాం, కొండ ఎక్కుదాం as
|
| 144 |
+
కొండెకుదాం).
|
| 145 |
+
- **Names it has never heard** are spelt by sound. Not tested: noise, music, far-away or speaker-played audio, Linux,
|
| 146 |
+
Windows and iOS. No punctuation; numbers come out as words.
|
| 147 |
+
|
| 148 |
+
## How it was trained
|
| 149 |
+
|
| 150 |
+
- **Start:** Shruti Hindi (itself a full fine-tune of Cactus Whistle). We added 700 Telugu vocabulary pieces and used
|
| 151 |
+
Shruti Hindi's language tag for Telugu, then trained **all** weights with 4-bit quantisation-aware training.
|
| 152 |
+
- **Data:** openly licensed Telugu speech, with English words kept in English where the dataset marks them, plus
|
| 153 |
+
English from Shruti Hindi's own training data. Test speakers and test sentences were removed.
|
| 154 |
+
|
| 155 |
+
| Source | Licence |
|
| 156 |
+
|---|---|
|
| 157 |
+
| AI4Bharat IndicVoices, Telugu | CC-BY-4.0 |
|
| 158 |
+
| AI4Bharat Kathbath, Telugu | CC-BY-4.0 |
|
| 159 |
+
| ARTPARK-IISc Vaani, Telugu (transcribed part) | CC-BY-4.0 |
|
| 160 |
+
| English from Shruti Hindi's training data: LibriSpeech, Mozilla Common Voice 17 English, AI4Bharat NPTEL | CC-BY-4.0, CC0, CC-BY-4.0 |
|
| 161 |
+
|
| 162 |
+
## Intended use and limitations
|
| 163 |
+
|
| 164 |
+
For transcribing Telugu and English speech on devices where privacy, cost or connectivity rule out a cloud service:
|
| 165 |
+
voice notes, dictation, voice commands, captions, field apps. Not for high-stakes use (medical, legal) without human
|
| 166 |
+
review. Accuracy drops on noisy audio, strong accents, rare names, numbers and long technical English.
|
| 167 |
+
|
| 168 |
+
## Licence
|
| 169 |
+
|
| 170 |
+
Apache-2.0. Shruti Telugu is a modified version of Shruti Hindi (Udgam Labs) and of Cactus Whistle by Cactus Compute
|
| 171 |
+
(both Apache-2.0); see `NOTICE`. The training data licences are listed above; please credit the datasets if you build on
|
| 172 |
+
it.
|
| 173 |
+
|
| 174 |
+
## Citation
|
| 175 |
+
|
| 176 |
+
```bibtex
|
| 177 |
+
@misc{udgamlabs2026shrutitelugu,
|
| 178 |
+
title = {Shruti Telugu: offline speech-to-text for Telugu and English in 29.7 MB},
|
| 179 |
+
author = {{Udgam Labs}},
|
| 180 |
+
year = {2026},
|
| 181 |
+
url = {https://huggingface.co/udgamlabs/shruti-telugu}
|
| 182 |
+
}
|
| 183 |
+
```
|
| 184 |
+
|
| 185 |
+
---
|
| 186 |
+
|
| 187 |
+
**About Udgam Labs.** Udgam Labs is an independent AI research lab. We work from first principles: before we build, we understand why things work, whether we are training a model, fine-tuning one or applying AI to a new problem. Udgam (उद्गम) is Sanskrit for origin. [udgamlabs.com](https://udgamlabs.com)
|
banner.png
ADDED
|
config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"model_name": "Shruti Telugu",
|
| 3 |
+
"model_type": "whistle",
|
| 4 |
+
"format": "cactus",
|
| 5 |
+
"weights": "shruti-telugu.cact",
|
| 6 |
+
"language": [
|
| 7 |
+
"te",
|
| 8 |
+
"en"
|
| 9 |
+
],
|
| 10 |
+
"license": "apache-2.0",
|
| 11 |
+
"source": "https://udgamlabs.com/models/shruti",
|
| 12 |
+
"_note": "Small metadata file. Hugging Face counts a download each time this file is fetched; it holds no weights."
|
| 13 |
+
}
|
shruti-telugu.cact
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:197166720f32163bc2102ebf9dc0374d51ec9928175649071da92d943cca0d9e
|
| 3 |
+
size 29742633
|