aksj commited on
Commit
afa9787
1 Parent(s): a6067cf

Upload model

Browse files
Files changed (4) hide show
  1. README.md +199 -0
  2. config.json +290 -0
  3. generation_config.json +7 -0
  4. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags: []
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+ This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
config.json ADDED
@@ -0,0 +1,290 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "UltravoxModel"
4
+ ],
5
+ "audio_config": {
6
+ "_name_or_path": "openai/whisper-small",
7
+ "activation_dropout": 0.0,
8
+ "activation_function": "gelu",
9
+ "apply_spec_augment": false,
10
+ "architectures": [
11
+ "WhisperForConditionalGeneration"
12
+ ],
13
+ "attention_dropout": 0.0,
14
+ "begin_suppress_tokens": [
15
+ 220,
16
+ 50257
17
+ ],
18
+ "bos_token_id": 50257,
19
+ "d_model": 768,
20
+ "decoder_attention_heads": 12,
21
+ "decoder_ffn_dim": 3072,
22
+ "decoder_layerdrop": 0.0,
23
+ "decoder_layers": 12,
24
+ "decoder_start_token_id": 50258,
25
+ "dropout": 0.0,
26
+ "encoder_attention_heads": 12,
27
+ "encoder_ffn_dim": 3072,
28
+ "encoder_layerdrop": 0.0,
29
+ "encoder_layers": 12,
30
+ "eos_token_id": 50257,
31
+ "forced_decoder_ids": [
32
+ [
33
+ 1,
34
+ 50259
35
+ ],
36
+ [
37
+ 2,
38
+ 50359
39
+ ],
40
+ [
41
+ 3,
42
+ 50363
43
+ ]
44
+ ],
45
+ "init_std": 0.02,
46
+ "is_encoder_decoder": true,
47
+ "max_length": 448,
48
+ "max_source_positions": 1500,
49
+ "max_target_positions": 448,
50
+ "median_filter_width": 7,
51
+ "model_type": "whisper",
52
+ "num_hidden_layers": 12,
53
+ "num_mel_bins": 80,
54
+ "pad_token_id": 50257,
55
+ "scale_embedding": false,
56
+ "suppress_tokens": [
57
+ 1,
58
+ 2,
59
+ 7,
60
+ 8,
61
+ 9,
62
+ 10,
63
+ 14,
64
+ 25,
65
+ 26,
66
+ 27,
67
+ 28,
68
+ 29,
69
+ 31,
70
+ 58,
71
+ 59,
72
+ 60,
73
+ 61,
74
+ 62,
75
+ 63,
76
+ 90,
77
+ 91,
78
+ 92,
79
+ 93,
80
+ 359,
81
+ 503,
82
+ 522,
83
+ 542,
84
+ 873,
85
+ 893,
86
+ 902,
87
+ 918,
88
+ 922,
89
+ 931,
90
+ 1350,
91
+ 1853,
92
+ 1982,
93
+ 2460,
94
+ 2627,
95
+ 3246,
96
+ 3253,
97
+ 3268,
98
+ 3536,
99
+ 3846,
100
+ 3961,
101
+ 4183,
102
+ 4667,
103
+ 6585,
104
+ 6647,
105
+ 7273,
106
+ 9061,
107
+ 9383,
108
+ 10428,
109
+ 10929,
110
+ 11938,
111
+ 12033,
112
+ 12331,
113
+ 12562,
114
+ 13793,
115
+ 14157,
116
+ 14635,
117
+ 15265,
118
+ 15618,
119
+ 16553,
120
+ 16604,
121
+ 18362,
122
+ 18956,
123
+ 20075,
124
+ 21675,
125
+ 22520,
126
+ 26130,
127
+ 26161,
128
+ 26435,
129
+ 28279,
130
+ 29464,
131
+ 31650,
132
+ 32302,
133
+ 32470,
134
+ 36865,
135
+ 42863,
136
+ 47425,
137
+ 49870,
138
+ 50254,
139
+ 50258,
140
+ 50360,
141
+ 50361,
142
+ 50362
143
+ ],
144
+ "torch_dtype": "float32",
145
+ "use_cache": true,
146
+ "vocab_size": 51865
147
+ },
148
+ "audio_model_id": "openai/whisper-small",
149
+ "audio_token_index": 32000,
150
+ "hidden_size": 4096,
151
+ "ignore_index": -100,
152
+ "initializer_range": 0.02,
153
+ "model_type": "ultravox",
154
+ "norm_init": 0.4,
155
+ "projector_act": "swiglu",
156
+ "stack_factor": 8,
157
+ "text_config": {
158
+ "_name_or_path": "microsoft/Phi-3-mini-128k-instruct",
159
+ "architectures": [
160
+ "Phi3ForCausalLM"
161
+ ],
162
+ "attention_bias": false,
163
+ "auto_map": {
164
+ "AutoConfig": "microsoft/Phi-3-mini-128k-instruct--configuration_phi3.Phi3Config",
165
+ "AutoModelForCausalLM": "microsoft/Phi-3-mini-128k-instruct--modeling_phi3.Phi3ForCausalLM",
166
+ "AutoModelForSequenceClassification": "microsoft/Phi-3-mini-128k-instruct--modeling_phi3.Phi3ForSequenceClassification",
167
+ "AutoModelForTokenClassification": "microsoft/Phi-3-mini-128k-instruct--modeling_phi3.Phi3ForTokenClassification"
168
+ },
169
+ "embd_pdrop": 0.0,
170
+ "eos_token_id": 32000,
171
+ "hidden_size": 3072,
172
+ "intermediate_size": 8192,
173
+ "max_position_embeddings": 131072,
174
+ "model_type": "phi3",
175
+ "original_max_position_embeddings": 4096,
176
+ "pad_token_id": 32000,
177
+ "resid_pdrop": 0.0,
178
+ "rms_norm_eps": 1e-05,
179
+ "rope_scaling": {
180
+ "long_factor": [
181
+ 1.0299999713897705,
182
+ 1.0499999523162842,
183
+ 1.0499999523162842,
184
+ 1.0799999237060547,
185
+ 1.2299998998641968,
186
+ 1.2299998998641968,
187
+ 1.2999999523162842,
188
+ 1.4499999284744263,
189
+ 1.5999999046325684,
190
+ 1.6499998569488525,
191
+ 1.8999998569488525,
192
+ 2.859999895095825,
193
+ 3.68999981880188,
194
+ 5.419999599456787,
195
+ 5.489999771118164,
196
+ 5.489999771118164,
197
+ 9.09000015258789,
198
+ 11.579999923706055,
199
+ 15.65999984741211,
200
+ 15.769999504089355,
201
+ 15.789999961853027,
202
+ 18.360000610351562,
203
+ 21.989999771118164,
204
+ 23.079999923706055,
205
+ 30.009998321533203,
206
+ 32.35000228881836,
207
+ 32.590003967285156,
208
+ 35.56000518798828,
209
+ 39.95000457763672,
210
+ 53.840003967285156,
211
+ 56.20000457763672,
212
+ 57.95000457763672,
213
+ 59.29000473022461,
214
+ 59.77000427246094,
215
+ 59.920005798339844,
216
+ 61.190006256103516,
217
+ 61.96000671386719,
218
+ 62.50000762939453,
219
+ 63.3700065612793,
220
+ 63.48000717163086,
221
+ 63.48000717163086,
222
+ 63.66000747680664,
223
+ 63.850006103515625,
224
+ 64.08000946044922,
225
+ 64.760009765625,
226
+ 64.80001068115234,
227
+ 64.81001281738281,
228
+ 64.81001281738281
229
+ ],
230
+ "short_factor": [
231
+ 1.05,
232
+ 1.05,
233
+ 1.05,
234
+ 1.1,
235
+ 1.1,
236
+ 1.1500000000000001,
237
+ 1.2000000000000002,
238
+ 1.2500000000000002,
239
+ 1.3000000000000003,
240
+ 1.3500000000000003,
241
+ 1.5000000000000004,
242
+ 2.000000000000001,
243
+ 2.000000000000001,
244
+ 2.000000000000001,
245
+ 2.000000000000001,
246
+ 2.000000000000001,
247
+ 2.000000000000001,
248
+ 2.000000000000001,
249
+ 2.000000000000001,
250
+ 2.000000000000001,
251
+ 2.000000000000001,
252
+ 2.000000000000001,
253
+ 2.000000000000001,
254
+ 2.000000000000001,
255
+ 2.000000000000001,
256
+ 2.000000000000001,
257
+ 2.000000000000001,
258
+ 2.000000000000001,
259
+ 2.000000000000001,
260
+ 2.000000000000001,
261
+ 2.000000000000001,
262
+ 2.000000000000001,
263
+ 2.0500000000000007,
264
+ 2.0500000000000007,
265
+ 2.0500000000000007,
266
+ 2.1000000000000005,
267
+ 2.1000000000000005,
268
+ 2.1000000000000005,
269
+ 2.1500000000000004,
270
+ 2.1500000000000004,
271
+ 2.3499999999999996,
272
+ 2.549999999999999,
273
+ 2.5999999999999988,
274
+ 2.5999999999999988,
275
+ 2.7499999999999982,
276
+ 2.849999999999998,
277
+ 2.849999999999998,
278
+ 2.9499999999999975
279
+ ],
280
+ "type": "su"
281
+ },
282
+ "sliding_window": 262144,
283
+ "torch_dtype": "bfloat16",
284
+ "vocab_size": 32064
285
+ },
286
+ "text_model_id": "microsoft/Phi-3-mini-128k-instruct",
287
+ "torch_dtype": "float32",
288
+ "transformers_version": "4.41.2",
289
+ "vocab_size": 32064
290
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 32000,
5
+ "pad_token_id": 32000,
6
+ "transformers_version": "4.41.2"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f96cc73baf290c931e6b0358ad0e7a1c501c66fe146e5e23e165309ca68abba6
3
+ size 125866456