Publish exact Moonshine Tiny stacked-cache export with refreshed hashes
Browse filesFiles changed (12)
- .gitattributes+3
- LICENSEAdded+230
- README.mdAdded+9
- decoder_cross_kv_model.onnxAdded+3
- decoder_cross_kv_model.onnx.dataAdded+3
- decoder_with_past_model.onnxAdded+3
- decoder_with_past_model.onnx.dataAdded+3
- encoder_model.onnxAdded+3
- encoder_model.onnx.dataAdded+3
- export-receipt.jsonAdded+51
- generation_config.jsonAdded+9
- tokenizer.jsonAdded
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines33343536373832 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textdecoder_cross_kv_model.onnx.data filter=lfs diff=lfs merge=lfs -textdecoder_with_past_model.onnx.data filter=lfs diff=lfs merge=lfs -textencoder_model.onnx.data filter=lfs diff=lfs merge=lfs -text
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230The code in this repo (https://github.com/moonshine-ai/moonshine), apart from the source in core/third-party, is licensed under the MIT License. Moonshine models are released under the MIT License by default, in every language and at every size. This includes all streaming speech-to-text models and all English-language models. See SECTION 1 for terms.
The only speech-to-text models that are NOT MIT are the legacy non-streaming models for languages other than English, which remain under the Moonshine Community License, a non-commercial license. That list is exhaustive:
Arabic Base, Tiny Japanese Base, Tiny Korean Base, Tiny Mandarin Base, Tiny Spanish Base Ukrainian Base, Tiny Vietnamese Base, Tiny
Any speech-to-text model not named in that list is MIT, including every streaming model and the English Tiny and Base models. See SECTION 2 for the Community License terms.
Separately, the text to speech and grapheme to phoneme models and data files are not covered by the MIT default: they are licensed under the terms listed in their own readmes and source repositories, since they derive from third-party work. See core/moonshine-tts/data/README.md.
SECTION 1 -----------------------------------------------------------------
MIT License
Copyright (c) 2025 Useful Sensors, Inc. (dba Moonshine AI)
Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.
SECTION 2 -----------------------------------------------------------------
MOONSHINE AI COMMUNITY LICENSE AGREEMENT Last Updated: June 15th, 2025
I. INTRODUCTION
This Agreement applies to any individual person or entity ("You", "Your" or"Licensee") that uses or distributes any portion or element of the Moonshine AIMaterials or Derivative Works thereof for any Research & Non-Commercial orCommercial purpose. Capitalized terms not otherwise defined herein are definedin Section V below.
This Agreement is intended to allow research, non-commercial, and limitedcommercial uses of the Models free of charge. In order to ensure that certainlimited commercial uses of the Models continue to be allowed, this Agreementpreserves free access to the Models for people or organizations generatingannual revenue of less than US $1,000,000 (or local currency equivalent).
By clicking "I Accept" or by using or distributing or using any portion orelement of the Stability Materials or Derivative Works, You agree that You haveread, understood and are bound by the terms of this Agreement. If You are actingon behalf of a company, organization or other entity, then "You" includes youand that entity, and You agree that You: (i) are an authorized representative ofsuch entity with the authority to bind such entity to this Agreement, and (ii)You agree to the terms of this Agreement on that entity's behalf.
II. RESEARCH & NON-COMMERCIAL USE LICENSE
Subject to the terms of this Agreement, Moonshine AI grants You a non-exclusive,worldwide, non-transferable, non-sublicensable, revocable and royalty-freelimited license under Moonshine AI's intellectual property or other rights ownedby Moonshine AI embodied in the Moonshine AI Materials to use, reproduce,distribute, and create Derivative Works of, and make modifications to, theMoonshine AI Materials for any Research or Non-Commercial Purpose. "ResearchPurpose" means academic or scientific advancement, and in each case, is notprimarily intended for commercial advantage or monetary compensation to You orothers. "Non-Commercial Purpose" means any purpose other than a Research Purposethat is not primarily intended for commercial advantage or monetary compensationto You or others, such as personal use (i.e., hobbyist) or evaluation andtesting.
III. COMMERCIAL USE LICENSE
Subject to the terms of this Agreement (including the remainder of this SectionIII), Moonshine AI grants You a non-exclusive, worldwide, non-transferable,non-sublicensable, revocable and royalty-free limited license under MoonshineAI's intellectual property or other rights owned by Moonshine AI embodied in theMoonshine AI Materials to use, reproduce, distribute, and create DerivativeWorks of, and make modifications to, the Moonshine AI Materials for anyCommercial Purpose. "Commercial Purpose" means any purpose other than a ResearchPurpose or Non-Commercial Purpose that is primarily intended for commercialadvantage or monetary compensation to You or others, including but not limitedto, (i) creating, modifying, or distributing Your product or service, includingvia a hosted service or application programming interface, and (ii) for Yourbusiness's or organization's internal operations. If You are using ordistributing the Moonshine AI Materials for a Commercial Purpose, You mustregister with Moonshine AI at (https://moonshine.ai/community-license). If atany time You or Your Affiliate(s), either individually or in aggregate, generatemore than USD $1,000,000 in annual revenue (or the equivalent thereof in Yourlocal currency), regardless of whether that revenue is generated directly orindirectly from the Moonshine AI Materials or Derivative Works, any licensesgranted to You under this Agreement shall terminate as of such date. You mustrequest a license from Moonshine AI at (https://moonshine.ai/enterprise) , whichMoonshine AI may grant to You in its sole discretion. If you receive MoonshineAI Materials, or any Derivative Works thereof, from a Licensee as part of anintegrated end user product, then Section III of this Agreement will not applyto you.
IV. GENERAL TERMS
Your Research, Non-Commercial, and Commercial License(s) under this Agreementare subject to the following terms. a. Distribution & Attribution. If Youdistribute or make available the Moonshine AI Materials or a Derivative Work toa third party, or a product or service that uses any portion of them, You shall:(i) provide a copy of this Agreement to that third party, (ii) retain thefollowing attribution notice within a "Notice" text file distributed as a partof such copies: "This Moonshine AI Model is licensed under the Moonshine AICommunity License, Copyright © Moonshine AI Ltd. All Rights Reserved", and (iii)prominently display "Powered by Moonshine AI" on a related website, userinterface, blogpost, about page, or product documentation. If You create aDerivative Work, You may add your own attribution notice(s) to the "Notice" textfile included with that Derivative Work, provided that You clearly indicatewhich attributions apply to the Moonshine AI Materials and state in the "Notice"text file that You changed the Moonshine AI Materials and how it was modified.b. Use Restrictions. Your use of the Moonshine AI Materials and DerivativeWorks, including any output or results of the Moonshine AI Materials orDerivative Works, must comply with applicable laws and regulations (includingTrade Control Laws and equivalent regulations) and adhere to the Documentationand Moonshine AI's AUP, which is hereby incorporated by reference. Furthermore,You will not use the Moonshine AI Materials or Derivative Works, or any outputor results of the Moonshine AI Materials or Derivative Works, to create orimprove any foundational generative AI model (excluding the Models or DerivativeWorks). c. Intellectual Property. (i) Trademark License. No trademark licensesare granted under this Agreement, and in connection with the Moonshine AIMaterials or Derivative Works, You may not use any name or mark owned by orassociated with Moonshine AI or any of its Affiliates, except as required underSection IV(a) herein. (ii) Ownership of Derivative Works. As between You andMoonshine AI, You are the owner of Derivative Works You create, subject toMoonshine AI's ownership of the Moonshine AI Materials and any Derivative Worksmade by or for Moonshine AI. (iii) Ownership of Outputs. As between You andMoonshine AI, You own any outputs generated from the Models or Derivative Worksto the extent permitted by applicable law. (iv) Disputes. If You or YourAffiliate(s) institute litigation or other proceedings against Moonshine AI(including a cross-claim or counterclaim in a lawsuit) alleging that theMoonshine AI Materials, Derivative Works or associated outputs or results, orany portion of any of the foregoing, constitutes infringement of intellectualproperty or other rights owned or licensable by You, then any licenses grantedto You under this Agreement shall terminate as of the date such litigation orclaim is filed or instituted. You will indemnify and hold harmless Moonshine AIfrom and against any claim by any third party arising out of or related to Youruse or distribution of the Moonshine AI Materials or Derivative Works inviolation of this Agreement. (v) Feedback. From time to time, You may provideMoonshine AI with verbal and/or written suggestions, comments or other feedbackrelated to Moonshine AI's existing or prospective technology, products orservices (collectively, "Feedback"). You are not obligated to provide MoonshineAI with Feedback, but to the extent that You do, You hereby grant Moonshine AI aperpetual, irrevocable, royalty-free, fully-paid, sub-licensable, transferable,non-exclusive, worldwide right and license to exploit the Feedback in any mannerwithout restriction. Your Feedback is provided "AS IS" and You make nowarranties whatsoever about any Feedback. d. Disclaimer Of Warranty. UNLESSREQUIRED BY APPLICABLE LAW, THE MOONSHINE AI MATERIALS AND ANY OUTPUT ANDRESULTS THEREFROM ARE PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANYKIND, EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIESOF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULARPURPOSE. YOU ARE SOLELY RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS ORLAWFULNESS OF USING OR REDISTRIBUTING THE MOONSHINE AI MATERIALS, DERIVATIVEWORKS OR ANY OUTPUT OR RESULTS AND ASSUME ANY RISKS ASSOCIATED WITH YOUR USE OFTHE MOONSHINE AI MATERIALS, DERIVATIVE WORKS AND ANY OUTPUT AND RESULTS. e.Limitation Of Liability. IN NO EVENT WILL MOONSHINE AI OR ITS AFFILIATES BELIABLE UNDER ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE,PRODUCTS LIABILITY, OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, FOR ANY LOSTPROFITS OR ANY DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL, EXEMPLARYOR PUNITIVE DAMAGES, EVEN IF MOONSHINE AI OR ITS AFFILIATES HAVE BEEN ADVISED OFTHE POSSIBILITY OF ANY OF THE FOREGOING. f. Term And Termination. The term ofthis Agreement will commence upon Your acceptance of this Agreement or access tothe Moonshine AI Materials and will continue in full force and effect untilterminated in accordance with the terms and conditions herein. Moonshine AI mayterminate this Agreement if You are in breach of any term or condition of thisAgreement. Upon termination of this Agreement, You shall delete and cease use ofany Moonshine AI Materials or Derivative Works. Section IV(d), (e), and (g)shall survive the termination of this Agreement. g. Governing Law. ThisAgreement will be governed by and constructed in accordance with the laws of theUnited States and the State of California without regard to choice of lawprinciples, and the UN Convention on Contracts for International Sale of Goodsdoes not apply to this Agreement.
V. DEFINITIONS
"Affiliate(s)" means any entity that directly or indirectly controls, iscontrolled by, or is under common control with the subject entity; for purposesof this definition, "control" means direct or indirect ownership or control ofmore than 50% of the voting interests of the subject entity. "Agreement" meansthis Moonshine AI Community License Agreement. "AUP" means the Moonshine AIAcceptable Use Policy available at https://moonshine.ai/use-policy, as may beupdated from time to time. "Derivative Work(s)" means (a) any derivative work ofthe Moonshine AI Materials as recognized by U.S. copyright laws and (b) anymodifications to a Model, and any other model created which is based on orderived from the Model or the Model's output, including"fine tune" and "low-rankadaptation" models derived from a Model or a Model's output, but do not includethe output of any Model. "Documentation" means any specifications, manuals,documentation, and other written information provided by Moonshine AI related tothe Software or Models. "Model(s)" means, collectively, Moonshine AI'sproprietary models and algorithms, including machine-learning models, trainedmodel weights and other elements of the foregoing listed on Stability's CoreModels Webpage available at, https://moonshine.ai/core-models, as may be updatedfrom time to time. "Moonshine AI" or "we" means Moonshine AI Ltd. and itsAffiliates. "Software" means Moonshine AI's proprietary software made availableunder this Agreement now or in the future. "Moonshine AI Materials" means,collectively, Stability's proprietary Models, Software and Documentation (andany portion or combination thereof) made available under this Agreement. "TradeControl Laws" means any applicable U.S. and non-U.S. export control and tradesanctions laws and regulations.123456789---license: mitpipeline_tag: automatic-speech-recognitionlanguage: en---
# Moonshine Tiny ONNX
Three-graph stacked-cache export of UsefulSensors/moonshine-tiny for ASRJS. Original authors: Useful Sensors / Moonshine AI. Source: https://huggingface.co/UsefulSensors/moonshine-tiny . Weights are unchanged; graph topology separates encoder, cross-attention projections and decoder step. See LICENSE and export-receipt.json for source weight hash and graph hashes. Publication does not establish browser parity.123version https://git-lfs.github.com/spec/v1oid sha256:3ee6ea1fa9bddee9eb65a1451409aa9995e45355e0fcd1fb9bf2a46fa0135382size 16914123version https://git-lfs.github.com/spec/v1oid sha256:316d87431e2467a70ff57d1ba4d4f8a6a98a8faaef5513269778de17a2d857efsize 3981312123version https://git-lfs.github.com/spec/v1oid sha256:f3420da3c60fd8d50fd213c17e172ee2eb5e7981a83509e9ca7297e8d335ac9dsize 1325693123version https://git-lfs.github.com/spec/v1oid sha256:ed01bc52f3bea7aace27057d5218c2b1a8f6008217a957a149f5e247af480478size 74186752123version https://git-lfs.github.com/spec/v1oid sha256:6229e92754d5528c7d2bd56d37abe9ad05d8574799cd6121cc00958cb1f738d1size 829285123version https://git-lfs.github.com/spec/v1oid sha256:79ded47133cf3171bdbf74a5c9aeb01f59ec545fc92e737f4321f616254a7bd8size 31383552123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ "schemaVersion": 1, "source": ".cache\\moonshine-tiny", "opset": 18, "exporter": "torch.onnx.export(dynamo=True)", "hiddenSize": 288, "decoderLayers": 6, "framesAtExport": 457, "graphs": { "encoder": { "artifact": "encoder_model.onnx", "bytes": 829285, "sha256": "6229e92754d5528c7d2bd56d37abe9ad05d8574799cd6121cc00958cb1f738d1" }, "crossKv": { "artifact": "decoder_cross_kv_model.onnx", "bytes": 16914, "sha256": "3ee6ea1fa9bddee9eb65a1451409aa9995e45355e0fcd1fb9bf2a46fa0135382" }, "decoder": { "artifact": "decoder_with_past_model.onnx", "bytes": 1325693, "sha256": "f3420da3c60fd8d50fd213c17e172ee2eb5e7981a83509e9ca7297e8d335ac9d", "interface": { "slots": 12, "heads": 8, "headDim": 36, "selfPast": "stacked [slots, batch, heads, past_length, headDim]", "crossPast": "stacked [slots, batch, heads, encoder_length, headDim]" } }, "encoderData": { "artifact": "encoder_model.onnx.data", "bytes": 31383552, "sha256": "79ded47133cf3171bdbf74a5c9aeb01f59ec545fc92e737f4321f616254a7bd8" }, "crossKvData": { "artifact": "decoder_cross_kv_model.onnx.data", "bytes": 3981312, "sha256": "316d87431e2467a70ff57d1ba4d4f8a6a98a8faaef5513269778de17a2d857ef" }, "decoderData": { "artifact": "decoder_with_past_model.onnx.data", "bytes": 74186752, "sha256": "ed01bc52f3bea7aace27057d5218c2b1a8f6008217a957a149f5e247af480478" } }, "why": "The browser graphs shipped with the model carry weights from a different checkpoint revision, so the encoder output drifts from PyTorch. These graphs are exported from the validated checkpoint instead.", "sourceModelId": "UsefulSensors/moonshine-tiny", "sourceWeightsSha256": "867cd2215804859c55aa972d740bd5002be149b4e7526328c895d2408848c736"}123456789{ "_from_model_config": true, "bos_token_id": 1, "decoder_start_token_id": 1, "pad_token_id": 2, "eos_token_id": 2, "transformers_version": "4.48.0.dev0", "max_length": 194}.gitattributes+3
LICENSEAdded+230
README.mdAdded+9
decoder_cross_kv_model.onnxAdded+3
decoder_cross_kv_model.onnx.dataAdded+3
decoder_with_past_model.onnxAdded+3
decoder_with_past_model.onnx.dataAdded+3
encoder_model.onnxAdded+3
encoder_model.onnx.dataAdded+3
export-receipt.jsonAdded+51
generation_config.jsonAdded+9
tokenizer.jsonAdded