theadamsabra commited on
Commit
645d05c
·
verified ·
1 Parent(s): 24babb5

Upload KO model

Browse files
LICENSE.txt ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ MOONSHINE AI COMMUNITY LICENSE AGREEMENT
2
+
3
+ Last Updated: June 15th, 2025
4
+
5
+
6
+ I. INTRODUCTION
7
+
8
+ This Agreement applies to any individual person or entity ("You", "Your" or
9
+ "Licensee") that uses or distributes any portion or element of the Moonshine AI
10
+ Materials or Derivative Works thereof for any Research & Non-Commercial or
11
+ Commercial purpose. Capitalized terms not otherwise defined herein are defined
12
+ in Section V below.
13
+
14
+
15
+ This Agreement is intended to allow research, non-commercial, and limited
16
+ commercial uses of the Models free of charge. In order to ensure that certain
17
+ limited commercial uses of the Models continue to be allowed, this Agreement
18
+ preserves free access to the Models for people or organizations generating
19
+ annual revenue of less than US $1,000,000 (or local currency equivalent).
20
+
21
+
22
+ By clicking "I Accept" or by using or distributing or using any portion or
23
+ element of the Moonshine Materials or Derivative Works, You agree that You have
24
+ read, understood and are bound by the terms of this Agreement. If You are acting
25
+ on behalf of a company, organization or other entity, then "You" includes you
26
+ and that entity, and You agree that You: (i) are an authorized representative of
27
+ such entity with the authority to bind such entity to this Agreement, and (ii)
28
+ You agree to the terms of this Agreement on that entity's behalf.
29
+
30
+ II. RESEARCH & NON-COMMERCIAL USE LICENSE
31
+
32
+ Subject to the terms of this Agreement, Moonshine AI grants You a non-exclusive,
33
+ worldwide, non-transferable, non-sublicensable, revocable and royalty-free
34
+ limited license under Moonshine AI's intellectual property or other rights owned
35
+ by Moonshine AI embodied in the Moonshine AI Materials to use, reproduce,
36
+ distribute, and create Derivative Works of, and make modifications to, the
37
+ Moonshine AI Materials for any Research or Non-Commercial Purpose. "Research
38
+ Purpose" means academic or scientific advancement, and in each case, is not
39
+ primarily intended for commercial advantage or monetary compensation to You or
40
+ others. "Non-Commercial Purpose" means any purpose other than a Research Purpose
41
+ that is not primarily intended for commercial advantage or monetary compensation
42
+ to You or others, such as personal use (i.e., hobbyist) or evaluation and
43
+ testing.
44
+
45
+ III. COMMERCIAL USE LICENSE
46
+
47
+ Subject to the terms of this Agreement (including the remainder of this Section
48
+ III), Moonshine AI grants You a non-exclusive, worldwide, non-transferable,
49
+ non-sublicensable, revocable and royalty-free limited license under Moonshine
50
+ AI's intellectual property or other rights owned by Moonshine AI embodied in the
51
+ Moonshine AI Materials to use, reproduce, distribute, and create Derivative
52
+ Works of, and make modifications to, the Moonshine AI Materials for any
53
+ Commercial Purpose. "Commercial Purpose" means any purpose other than a Research
54
+ Purpose or Non-Commercial Purpose that is primarily intended for commercial
55
+ advantage or monetary compensation to You or others, including but not limited
56
+ to, (i) creating, modifying, or distributing Your product or service, including
57
+ via a hosted service or application programming interface, and (ii) for Your
58
+ business's or organization's internal operations. If You are using or
59
+ distributing the Moonshine AI Materials for a Commercial Purpose, You must
60
+ register with Moonshine AI at (https://moonshine.ai/community-license). If at
61
+ any time You or Your Affiliate(s), either individually or in aggregate, generate
62
+ more than USD $1,000,000 in annual revenue (or the equivalent thereof in Your
63
+ local currency), regardless of whether that revenue is generated directly or
64
+ indirectly from the Moonshine AI Materials or Derivative Works, any licenses
65
+ granted to You under this Agreement shall terminate as of such date. You must
66
+ request a license from Moonshine AI at (https://moonshine.ai/license) , which
67
+ Moonshine AI may grant to You in its sole discretion. If you receive Moonshine
68
+ AI Materials, or any Derivative Works thereof, from a Licensee as part of an
69
+ integrated end user product, then Section III of this Agreement will not apply
70
+ to you.
71
+
72
+ IV. GENERAL TERMS
73
+
74
+ Your Research, Non-Commercial, and Commercial License(s) under this Agreement
75
+ are subject to the following terms. a. Distribution & Attribution. If You
76
+ distribute or make available the Moonshine AI Materials or a Derivative Work to
77
+ a third party, or a product or service that uses any portion of them, You shall:
78
+ (i) provide a copy of this Agreement to that third party, (ii) retain the
79
+ following attribution notice within a "Notice" text file distributed as a part
80
+ of such copies: "This Moonshine AI Model is licensed under the Moonshine AI
81
+ Community License, Copyright © Moonshine AI Ltd. All Rights Reserved", and (iii)
82
+ prominently display "Powered by Moonshine AI" on a related website, user
83
+ interface, blogpost, about page, or product documentation. If You create a
84
+ Derivative Work, You may add your own attribution notice(s) to the "Notice" text
85
+ file included with that Derivative Work, provided that You clearly indicate
86
+ which attributions apply to the Moonshine AI Materials and state in the "Notice"
87
+ text file that You changed the Moonshine AI Materials and how it was modified.
88
+ b. Use Restrictions. Your use of the Moonshine AI Materials and Derivative
89
+ Works, including any output or results of the Moonshine AI Materials or
90
+ Derivative Works, must comply with applicable laws and regulations (including
91
+ Trade Control Laws and equivalent regulations) and adhere to the Documentation
92
+ and Moonshine AI's AUP, which is hereby incorporated by reference. Furthermore,
93
+ You will not use the Moonshine AI Materials or Derivative Works, or any output
94
+ or results of the Moonshine AI Materials or Derivative Works, to create or
95
+ improve any foundational generative AI model (excluding the Models or Derivative
96
+ Works). c. Intellectual Property. (i) Trademark License. No trademark licenses
97
+ are granted under this Agreement, and in connection with the Moonshine AI
98
+ Materials or Derivative Works, You may not use any name or mark owned by or
99
+ associated with Moonshine AI or any of its Affiliates, except as required under
100
+ Section IV(a) herein. (ii) Ownership of Derivative Works. As between You and
101
+ Moonshine AI, You are the owner of Derivative Works You create, subject to
102
+ Moonshine AI's ownership of the Moonshine AI Materials and any Derivative Works
103
+ made by or for Moonshine AI. (iii) Ownership of Outputs. As between You and
104
+ Moonshine AI, You own any outputs generated from the Models or Derivative Works
105
+ to the extent permitted by applicable law. (iv) Disputes. If You or Your
106
+ Affiliate(s) institute litigation or other proceedings against Moonshine AI
107
+ (including a cross-claim or counterclaim in a lawsuit) alleging that the
108
+ Moonshine AI Materials, Derivative Works or associated outputs or results, or
109
+ any portion of any of the foregoing, constitutes infringement of intellectual
110
+ property or other rights owned or licensable by You, then any licenses granted
111
+ to You under this Agreement shall terminate as of the date such litigation or
112
+ claim is filed or instituted. You will indemnify and hold harmless Moonshine AI
113
+ from and against any claim by any third party arising out of or related to Your
114
+ use or distribution of the Moonshine AI Materials or Derivative Works in
115
+ violation of this Agreement. (v) Feedback. From time to time, You may provide
116
+ Moonshine AI with verbal and/or written suggestions, comments or other feedback
117
+ related to Moonshine AI's existing or prospective technology, products or
118
+ services (collectively, "Feedback"). You are not obligated to provide Moonshine
119
+ AI with Feedback, but to the extent that You do, You hereby grant Moonshine AI a
120
+ perpetual, irrevocable, royalty-free, fully-paid, sub-licensable, transferable,
121
+ non-exclusive, worldwide right and license to exploit the Feedback in any manner
122
+ without restriction. Your Feedback is provided "AS IS" and You make no
123
+ warranties whatsoever about any Feedback. d. Disclaimer Of Warranty. UNLESS
124
+ REQUIRED BY APPLICABLE LAW, THE MOONSHINE AI MATERIALS AND ANY OUTPUT AND
125
+ RESULTS THEREFROM ARE PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
126
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES
127
+ OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR
128
+ PURPOSE. YOU ARE SOLELY RESPONSIBLE FOR DETERMINING THE APPROPRIATENESS OR
129
+ LAWFULNESS OF USING OR REDISTRIBUTING THE MOONSHINE AI MATERIALS, DERIVATIVE
130
+ WORKS OR ANY OUTPUT OR RESULTS AND ASSUME ANY RISKS ASSOCIATED WITH YOUR USE OF
131
+ THE MOONSHINE AI MATERIALS, DERIVATIVE WORKS AND ANY OUTPUT AND RESULTS. e.
132
+ Limitation Of Liability. IN NO EVENT WILL MOONSHINE AI OR ITS AFFILIATES BE
133
+ LIABLE UNDER ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, TORT, NEGLIGENCE,
134
+ PRODUCTS LIABILITY, OR OTHERWISE, ARISING OUT OF THIS AGREEMENT, FOR ANY LOST
135
+ PROFITS OR ANY DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL, EXEMPLARY
136
+ OR PUNITIVE DAMAGES, EVEN IF MOONSHINE AI OR ITS AFFILIATES HAVE BEEN ADVISED OF
137
+ THE POSSIBILITY OF ANY OF THE FOREGOING. f. Term And Termination. The term of
138
+ this Agreement will commence upon Your acceptance of this Agreement or access to
139
+ the Moonshine AI Materials and will continue in full force and effect until
140
+ terminated in accordance with the terms and conditions herein. Moonshine AI may
141
+ terminate this Agreement if You are in breach of any term or condition of this
142
+ Agreement. Upon termination of this Agreement, You shall delete and cease use of
143
+ any Moonshine AI Materials or Derivative Works. Section IV(d), (e), and (g)
144
+ shall survive the termination of this Agreement. g. Governing Law. This
145
+ Agreement will be governed by and constructed in accordance with the laws of the
146
+ United States and the State of California without regard to choice of law
147
+ principles, and the UN Convention on Contracts for International Sale of Goods
148
+ does not apply to this Agreement.
149
+
150
+ V. DEFINITIONS
151
+
152
+ "Affiliate(s)" means any entity that directly or indirectly controls, is
153
+ controlled by, or is under common control with the subject entity; for purposes
154
+ of this definition, "control" means direct or indirect ownership or control of
155
+ more than 50% of the voting interests of the subject entity. "Agreement" means
156
+ this Moonshine AI Community License Agreement. "AUP" means the Moonshine AI
157
+ Acceptable Use Policy available at https://moonshine.ai/use-policy, as may be
158
+ updated from time to time. "Derivative Work(s)" means (a) any derivative work of
159
+ the Moonshine AI Materials as recognized by U.S. copyright laws and (b) any
160
+ modifications to a Model, and any other model created which is based on or
161
+ derived from the Model or the Model's output, including"fine tune" and "low-rank
162
+ adaptation" models derived from a Model or a Model's output, but do not include
163
+ the output of any Model. "Documentation" means any specifications, manuals,
164
+ documentation, and other written information provided by Moonshine AI related to
165
+ the Software or Models. "Model(s)" means, collectively, Moonshine AI's
166
+ proprietary models and algorithms, including machine-learning models, trained
167
+ model weights and other elements of the foregoing. "Moonshine AI" or "we" means
168
+ Moonshine AI Ltd. and its Affiliates. "Software" means Moonshine AI's
169
+ proprietary software made available under this Agreement now or in the future. "
170
+ Moonshine AI Materials" means, collectively, Moonshine's proprietary Models,
171
+ Software and Documentation (and any portion or combination thereof) made
172
+ available under this Agreement. "Trade Control Laws" means any applicable U.S.
173
+ and non-U.S. export control and trade sanctions laws and regulations.
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "MoonshineForConditionalGeneration"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "pad_token_id": 2,
9
+ "decoder_hidden_act": "silu",
10
+ "decoder_num_attention_heads": 8,
11
+ "decoder_num_hidden_layers": 6,
12
+ "decoder_num_key_value_heads": 8,
13
+ "decoder_start_token_id": 1,
14
+ "encoder_hidden_act": "gelu",
15
+ "encoder_num_attention_heads": 8,
16
+ "encoder_num_hidden_layers": 6,
17
+ "encoder_num_key_value_heads": 8,
18
+ "eos_token_id": 2,
19
+ "hidden_size": 288,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 1152,
22
+ "is_encoder_decoder": true,
23
+ "max_position_embeddings": 194,
24
+ "model_type": "moonshine",
25
+ "partial_rotary_factor": 0.9,
26
+ "rope_scaling": null,
27
+ "rope_theta": 10000.0,
28
+ "torch_dtype": "float32",
29
+ "transformers_version": "4.48.0.dev0",
30
+ "use_cache": true,
31
+ "vocab_size": 32768,
32
+ "pad_head_dim_to_multiple_of": 8
33
+ }
generation_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "pad_token_id": 2,
5
+ "decoder_start_token_id": 1,
6
+ "eos_token_id": 2,
7
+ "transformers_version": "4.48.0.dev0",
8
+ "max_length": 194
9
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3040b2317956691c7440997b38aef4f96e4c4a8c6a3c581487c9b8363d8099c6
3
+ size 108389160
preprocessor_config.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": false,
3
+ "feature_extractor_type": "Wav2Vec2FeatureExtractor",
4
+ "feature_size": 1,
5
+ "padding_side": "right",
6
+ "padding_value": 0.0,
7
+ "return_attention_mask": true,
8
+ "sampling_rate": 16000
9
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff