Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitignore +1 -0
- README.md +24 -0
- config.json +219 -0
- distil-whisper_distil-large-v3/AudioEncoder.mlmodelc/analytics/coremldata.bin +3 -0
- distil-whisper_distil-large-v3/AudioEncoder.mlmodelc/coremldata.bin +3 -0
- distil-whisper_distil-large-v3/AudioEncoder.mlmodelc/metadata.json +67 -0
- distil-whisper_distil-large-v3/AudioEncoder.mlmodelc/model.mil +0 -0
- distil-whisper_distil-large-v3/AudioEncoder.mlmodelc/model.mlmodel +3 -0
- distil-whisper_distil-large-v3/AudioEncoder.mlmodelc/weights/weight.bin +3 -0
- distil-whisper_distil-large-v3/MelSpectrogram.mlmodelc/analytics/coremldata.bin +3 -0
- distil-whisper_distil-large-v3/MelSpectrogram.mlmodelc/coremldata.bin +3 -0
- distil-whisper_distil-large-v3/MelSpectrogram.mlmodelc/metadata.json +71 -0
- distil-whisper_distil-large-v3/MelSpectrogram.mlmodelc/model.mil +66 -0
- distil-whisper_distil-large-v3/MelSpectrogram.mlmodelc/weights/weight.bin +3 -0
- distil-whisper_distil-large-v3/TextDecoder.mlmodelc/analytics/coremldata.bin +3 -0
- distil-whisper_distil-large-v3/TextDecoder.mlmodelc/coremldata.bin +3 -0
- distil-whisper_distil-large-v3/TextDecoder.mlmodelc/metadata.json +165 -0
- distil-whisper_distil-large-v3/TextDecoder.mlmodelc/model.mil +0 -0
- distil-whisper_distil-large-v3/TextDecoder.mlmodelc/model.mlmodel +3 -0
- distil-whisper_distil-large-v3/TextDecoder.mlmodelc/weights/weight.bin +3 -0
- distil-whisper_distil-large-v3/config.json +1 -0
- distil-whisper_distil-large-v3/generation_config.json +1 -0
- distil-whisper_distil-large-v3_594MB/AudioEncoder.mlmodelc/analytics/coremldata.bin +3 -0
- distil-whisper_distil-large-v3_594MB/AudioEncoder.mlmodelc/coremldata.bin +3 -0
- distil-whisper_distil-large-v3_594MB/AudioEncoder.mlmodelc/metadata.json +68 -0
- distil-whisper_distil-large-v3_594MB/AudioEncoder.mlmodelc/model.mil +0 -0
- distil-whisper_distil-large-v3_594MB/AudioEncoder.mlmodelc/weights/weight.bin +3 -0
- distil-whisper_distil-large-v3_594MB/MelSpectrogram.mlmodelc/analytics/coremldata.bin +3 -0
- distil-whisper_distil-large-v3_594MB/MelSpectrogram.mlmodelc/coremldata.bin +3 -0
- distil-whisper_distil-large-v3_594MB/MelSpectrogram.mlmodelc/metadata.json +71 -0
- distil-whisper_distil-large-v3_594MB/MelSpectrogram.mlmodelc/model.mil +66 -0
- distil-whisper_distil-large-v3_594MB/MelSpectrogram.mlmodelc/weights/weight.bin +3 -0
- distil-whisper_distil-large-v3_594MB/TextDecoder.mlmodelc/analytics/coremldata.bin +3 -0
- distil-whisper_distil-large-v3_594MB/TextDecoder.mlmodelc/coremldata.bin +3 -0
- distil-whisper_distil-large-v3_594MB/TextDecoder.mlmodelc/metadata.json +165 -0
- distil-whisper_distil-large-v3_594MB/TextDecoder.mlmodelc/model.mil +0 -0
- distil-whisper_distil-large-v3_594MB/TextDecoder.mlmodelc/weights/weight.bin +3 -0
- distil-whisper_distil-large-v3_594MB/config.json +1 -0
- distil-whisper_distil-large-v3_594MB/generation_config.json +1 -0
- distil-whisper_distil-large-v3_turbo/AudioEncoder.mlmodelc/analytics/coremldata.bin +3 -0
- distil-whisper_distil-large-v3_turbo/AudioEncoder.mlmodelc/coremldata.bin +3 -0
- distil-whisper_distil-large-v3_turbo/AudioEncoder.mlmodelc/metadata.json +69 -0
- distil-whisper_distil-large-v3_turbo/AudioEncoder.mlmodelc/model.mil +0 -0
- distil-whisper_distil-large-v3_turbo/AudioEncoder.mlmodelc/model.mlmodel +3 -0
- distil-whisper_distil-large-v3_turbo/AudioEncoder.mlmodelc/weights/weight.bin +3 -0
- distil-whisper_distil-large-v3_turbo/MelSpectrogram.mlmodelc/analytics/coremldata.bin +3 -0
- distil-whisper_distil-large-v3_turbo/MelSpectrogram.mlmodelc/coremldata.bin +3 -0
- distil-whisper_distil-large-v3_turbo/MelSpectrogram.mlmodelc/metadata.json +71 -0
- distil-whisper_distil-large-v3_turbo/MelSpectrogram.mlmodelc/model.mil +66 -0
- distil-whisper_distil-large-v3_turbo/MelSpectrogram.mlmodelc/weights/weight.bin +3 -0
.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
.DS_Store
|
README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
---
|
| 3 |
+
pretty_name: "WhisperKit"
|
| 4 |
+
viewer: false
|
| 5 |
+
library_name: whisperkit
|
| 6 |
+
tags:
|
| 7 |
+
- whisper
|
| 8 |
+
- whisperkit
|
| 9 |
+
- coreml
|
| 10 |
+
- asr
|
| 11 |
+
- quantized
|
| 12 |
+
- automatic-speech-recognition
|
| 13 |
+
---
|
| 14 |
+
# WhisperKit
|
| 15 |
+
|
| 16 |
+
WhisperKit is an on-device speech recognition framework for Apple Silicon:
|
| 17 |
+
https://github.com/argmaxinc/WhisperKit
|
| 18 |
+
|
| 19 |
+
For performance and accuracy benchmarks on real devices, please see:
|
| 20 |
+
https://huggingface.co/spaces/argmaxinc/whisperkit-benchmarks
|
| 21 |
+
|
| 22 |
+
WhisperKit Pro is the commercial upgraded version of WhisperKit. If you would like to learn more about upgrading to Pro, please reach out to [email protected] or fill the form [here](https://huggingface.co/argmaxinc/whisperkit-pro).
|
| 23 |
+
|
| 24 |
+
|
config.json
ADDED
|
@@ -0,0 +1,219 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "whisperkit-coreml",
|
| 3 |
+
"version": "0.4",
|
| 4 |
+
"device_support": [
|
| 5 |
+
{
|
| 6 |
+
"chips": "A12, A13, S9, S10",
|
| 7 |
+
"identifiers": [
|
| 8 |
+
"iPhone11",
|
| 9 |
+
"iPhone12",
|
| 10 |
+
"iPad12,1",
|
| 11 |
+
"iPad12,2",
|
| 12 |
+
"Watch7",
|
| 13 |
+
"Watch8"
|
| 14 |
+
],
|
| 15 |
+
"models": {
|
| 16 |
+
"default": "openai_whisper-tiny",
|
| 17 |
+
"supported": [
|
| 18 |
+
"openai_whisper-tiny",
|
| 19 |
+
"openai_whisper-tiny.en",
|
| 20 |
+
"openai_whisper-base",
|
| 21 |
+
"openai_whisper-base.en"
|
| 22 |
+
]
|
| 23 |
+
}
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"chips": "A16, A17 Pro, A18, A19",
|
| 27 |
+
"identifiers": [
|
| 28 |
+
"iPhone15",
|
| 29 |
+
"iPhone16",
|
| 30 |
+
"iPhone17",
|
| 31 |
+
"iPhone18",
|
| 32 |
+
"iPad15,7",
|
| 33 |
+
"iPad15,8",
|
| 34 |
+
"iPad16,1",
|
| 35 |
+
"iPad16,2"
|
| 36 |
+
],
|
| 37 |
+
"models": {
|
| 38 |
+
"default": "openai_whisper-base",
|
| 39 |
+
"supported": [
|
| 40 |
+
"openai_whisper-tiny",
|
| 41 |
+
"openai_whisper-tiny.en",
|
| 42 |
+
"openai_whisper-base",
|
| 43 |
+
"openai_whisper-base.en",
|
| 44 |
+
"openai_whisper-small",
|
| 45 |
+
"openai_whisper-small.en",
|
| 46 |
+
"openai_whisper-large-v2_949MB",
|
| 47 |
+
"openai_whisper-large-v2_turbo_955MB",
|
| 48 |
+
"openai_whisper-large-v3_947MB",
|
| 49 |
+
"openai_whisper-large-v3_turbo_954MB",
|
| 50 |
+
"distil-whisper_distil-large-v3_594MB",
|
| 51 |
+
"distil-whisper_distil-large-v3_turbo_600MB",
|
| 52 |
+
"openai_whisper-large-v3-v20240930_626MB",
|
| 53 |
+
"openai_whisper-large-v3-v20240930_turbo_632MB"
|
| 54 |
+
]
|
| 55 |
+
}
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"chips": "M1",
|
| 59 |
+
"identifiers": [
|
| 60 |
+
"MacBookPro17,1",
|
| 61 |
+
"MacBookPro18,1",
|
| 62 |
+
"MacBookPro18,2",
|
| 63 |
+
"MacBookPro18,3",
|
| 64 |
+
"MacBookPro18,4",
|
| 65 |
+
"MacBookAir10,1",
|
| 66 |
+
"Macmini9,1",
|
| 67 |
+
"iMac21,1",
|
| 68 |
+
"iMac21,2",
|
| 69 |
+
"Mac13",
|
| 70 |
+
"iPad13,4",
|
| 71 |
+
"iPad13,5",
|
| 72 |
+
"iPad13,6",
|
| 73 |
+
"iPad13,7",
|
| 74 |
+
"iPad13,8",
|
| 75 |
+
"iPad13,9",
|
| 76 |
+
"iPad13,10",
|
| 77 |
+
"iPad13,11",
|
| 78 |
+
"iPad13,16",
|
| 79 |
+
"iPad13,17"
|
| 80 |
+
],
|
| 81 |
+
"models": {
|
| 82 |
+
"default": "openai_whisper-large-v3-v20240930_626MB",
|
| 83 |
+
"supported": [
|
| 84 |
+
"openai_whisper-tiny",
|
| 85 |
+
"openai_whisper-tiny.en",
|
| 86 |
+
"openai_whisper-base",
|
| 87 |
+
"openai_whisper-base.en",
|
| 88 |
+
"openai_whisper-small",
|
| 89 |
+
"openai_whisper-small.en",
|
| 90 |
+
"openai_whisper-large-v2",
|
| 91 |
+
"openai_whisper-large-v2_949MB",
|
| 92 |
+
"openai_whisper-large-v3",
|
| 93 |
+
"openai_whisper-large-v3_947MB",
|
| 94 |
+
"distil-whisper_distil-large-v3",
|
| 95 |
+
"distil-whisper_distil-large-v3_594MB",
|
| 96 |
+
"openai_whisper-large-v3-v20240930_626MB"
|
| 97 |
+
]
|
| 98 |
+
}
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"chips": "M2, M3, M4",
|
| 102 |
+
"identifiers": [
|
| 103 |
+
"Mac14",
|
| 104 |
+
"Mac15",
|
| 105 |
+
"Mac16",
|
| 106 |
+
"iPad14,3",
|
| 107 |
+
"iPad14,4",
|
| 108 |
+
"iPad14,5",
|
| 109 |
+
"iPad14,6",
|
| 110 |
+
"iPad14,8",
|
| 111 |
+
"iPad14,9",
|
| 112 |
+
"iPad14,10",
|
| 113 |
+
"iPad14,11",
|
| 114 |
+
"iPad15",
|
| 115 |
+
"iPad16"
|
| 116 |
+
],
|
| 117 |
+
"models": {
|
| 118 |
+
"default": "openai_whisper-large-v3-v20240930",
|
| 119 |
+
"supported": [
|
| 120 |
+
"openai_whisper-tiny",
|
| 121 |
+
"openai_whisper-tiny.en",
|
| 122 |
+
"openai_whisper-base",
|
| 123 |
+
"openai_whisper-base.en",
|
| 124 |
+
"openai_whisper-small",
|
| 125 |
+
"openai_whisper-small.en",
|
| 126 |
+
"openai_whisper-large-v2",
|
| 127 |
+
"openai_whisper-large-v2_949MB",
|
| 128 |
+
"openai_whisper-large-v2_turbo",
|
| 129 |
+
"openai_whisper-large-v2_turbo_955MB",
|
| 130 |
+
"openai_whisper-large-v3",
|
| 131 |
+
"openai_whisper-large-v3_947MB",
|
| 132 |
+
"openai_whisper-large-v3_turbo",
|
| 133 |
+
"openai_whisper-large-v3_turbo_954MB",
|
| 134 |
+
"distil-whisper_distil-large-v3",
|
| 135 |
+
"distil-whisper_distil-large-v3_594MB",
|
| 136 |
+
"distil-whisper_distil-large-v3_turbo",
|
| 137 |
+
"distil-whisper_distil-large-v3_turbo_600MB",
|
| 138 |
+
"openai_whisper-large-v3-v20240930",
|
| 139 |
+
"openai_whisper-large-v3-v20240930_turbo",
|
| 140 |
+
"openai_whisper-large-v3-v20240930_626MB",
|
| 141 |
+
"openai_whisper-large-v3-v20240930_turbo_632MB"
|
| 142 |
+
]
|
| 143 |
+
}
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"chips": "A14",
|
| 147 |
+
"identifiers": [
|
| 148 |
+
"iPhone13",
|
| 149 |
+
"iPad13,1",
|
| 150 |
+
"iPad13,2",
|
| 151 |
+
"iPad13,18",
|
| 152 |
+
"iPad13,19"
|
| 153 |
+
],
|
| 154 |
+
"models": {
|
| 155 |
+
"default": "openai_whisper-base",
|
| 156 |
+
"supported": [
|
| 157 |
+
"openai_whisper-tiny",
|
| 158 |
+
"openai_whisper-tiny.en",
|
| 159 |
+
"openai_whisper-base",
|
| 160 |
+
"openai_whisper-base.en",
|
| 161 |
+
"openai_whisper-small",
|
| 162 |
+
"openai_whisper-small.en"
|
| 163 |
+
]
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"chips": "A15",
|
| 168 |
+
"identifiers": [
|
| 169 |
+
"iPhone14",
|
| 170 |
+
"iPad14,1",
|
| 171 |
+
"iPad14,2"
|
| 172 |
+
],
|
| 173 |
+
"models": {
|
| 174 |
+
"default": "openai_whisper-base",
|
| 175 |
+
"supported": [
|
| 176 |
+
"openai_whisper-tiny",
|
| 177 |
+
"openai_whisper-tiny.en",
|
| 178 |
+
"openai_whisper-base",
|
| 179 |
+
"openai_whisper-base.en",
|
| 180 |
+
"openai_whisper-small",
|
| 181 |
+
"openai_whisper-small.en",
|
| 182 |
+
"openai_whisper-large-v2_949MB",
|
| 183 |
+
"openai_whisper-large-v2_turbo_955MB",
|
| 184 |
+
"openai_whisper-large-v3_947MB",
|
| 185 |
+
"openai_whisper-large-v3_turbo_954MB",
|
| 186 |
+
"distil-whisper_distil-large-v3_594MB",
|
| 187 |
+
"distil-whisper_distil-large-v3_turbo_600MB",
|
| 188 |
+
"openai_whisper-large-v3-v20240930_626MB",
|
| 189 |
+
"openai_whisper-large-v3-v20240930_turbo_632MB"
|
| 190 |
+
]
|
| 191 |
+
}
|
| 192 |
+
}
|
| 193 |
+
],
|
| 194 |
+
"model_checksums": {
|
| 195 |
+
"distil-whisper_distil-large-v3": "9cd8271143b919402ae776c30b479565",
|
| 196 |
+
"distil-whisper_distil-large-v3_594MB": "ca532f45ddbf8a3d241132cc5cf41639",
|
| 197 |
+
"distil-whisper_distil-large-v3_turbo": "b8638452c6568dfe33a33bfcc2bc6aca",
|
| 198 |
+
"distil-whisper_distil-large-v3_turbo_600MB": "81746b4b1afbbb01a8ae9ea452460d88",
|
| 199 |
+
"openai_whisper-base.en": "fbcfd586f15e2952251b1d3257f18471",
|
| 200 |
+
"openai_whisper-base": "36e60501ad0f01c1a5719e83a1f63f20",
|
| 201 |
+
"openai_whisper-large-v2": "21b86c07318aeeef54598f15b7903979",
|
| 202 |
+
"openai_whisper-large-v2_949MB": "71bad4e1566749d1060eda42308d9fb4",
|
| 203 |
+
"openai_whisper-large-v2_turbo": "7734959b6550e7b5c2d732bf2b7acd23",
|
| 204 |
+
"openai_whisper-large-v2_turbo_955MB": "cb6411862a48ec75325572081f01e5b5",
|
| 205 |
+
"openai_whisper-large-v3-v20240930": "17ebd78ff7edfa59001b554e9cc4c021",
|
| 206 |
+
"openai_whisper-large-v3-v20240930_547MB": "c945dad68449ac3c78ecb2d561ac189d",
|
| 207 |
+
"openai_whisper-large-v3-v20240930_626MB": "578fe5a07f4eb7e4187c920bca571aa5",
|
| 208 |
+
"openai_whisper-large-v3-v20240930_turbo": "dfbf09ab741af1d5400ddbd07bb37dad",
|
| 209 |
+
"openai_whisper-large-v3-v20240930_turbo_632MB": "33954440dbd785ca1828afe25514f5a5",
|
| 210 |
+
"openai_whisper-large-v3": "a6f24dc72785722e9cea89e227856dfe",
|
| 211 |
+
"openai_whisper-large-v3_947MB": "ef6b0e9622a046ce2361b4c72307877f",
|
| 212 |
+
"openai_whisper-large-v3_turbo": "c550fbdea70c5784d322c0a427f8b5cd",
|
| 213 |
+
"openai_whisper-large-v3_turbo_954MB": "e639c4bb98d905064ef5dd38757dd9d1",
|
| 214 |
+
"openai_whisper-small.en": "38efe6a00706bbdb995795c67a836e5e",
|
| 215 |
+
"openai_whisper-small": "f1d21adb950bc9be5d5343bcdeccd23b",
|
| 216 |
+
"openai_whisper-tiny.en": "e1183fd55448923b1ce43a2da67aa21f",
|
| 217 |
+
"openai_whisper-tiny": "7147518a3d68ddbea0691e04cfffa4ff"
|
| 218 |
+
}
|
| 219 |
+
}
|
distil-whisper_distil-large-v3/AudioEncoder.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:195e35e9fbaa218cd59eca69988a2165245e5bfccc4a5d9776847e8955d1625a
|
| 3 |
+
size 243
|
distil-whisper_distil-large-v3/AudioEncoder.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:273d6cd004f95763e9d03e5d36622f11038819a81b9eafed64b1d95444e04f62
|
| 3 |
+
size 348
|
distil-whisper_distil-large-v3/AudioEncoder.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"metadataOutputVersion" : "3.0",
|
| 4 |
+
"storagePrecision" : "Float16",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float16",
|
| 10 |
+
"formattedType" : "MultiArray (Float16 1 × 1280 × 1 × 1500)",
|
| 11 |
+
"shortDescription" : "",
|
| 12 |
+
"shape" : "[1, 1280, 1, 1500]",
|
| 13 |
+
"name" : "encoder_output_embeds",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"modelParameters" : [
|
| 18 |
+
|
| 19 |
+
],
|
| 20 |
+
"specificationVersion" : 7,
|
| 21 |
+
"mlProgramOperationTypeHistogram" : {
|
| 22 |
+
"Ios16.softmax" : 32,
|
| 23 |
+
"Ios16.add" : 130,
|
| 24 |
+
"Ios16.mul" : 162,
|
| 25 |
+
"Ios16.rsqrt" : 65,
|
| 26 |
+
"Ios16.sub" : 65,
|
| 27 |
+
"Ios16.batchNorm" : 65,
|
| 28 |
+
"Ios16.gelu" : 34,
|
| 29 |
+
"Ios16.reduceMean" : 130,
|
| 30 |
+
"Ios16.matmul" : 64,
|
| 31 |
+
"Ios16.reshape" : 128,
|
| 32 |
+
"Ios16.conv" : 194
|
| 33 |
+
},
|
| 34 |
+
"computePrecision" : "Mixed (Float16, Int32)",
|
| 35 |
+
"isUpdatable" : "0",
|
| 36 |
+
"availability" : {
|
| 37 |
+
"macOS" : "13.0",
|
| 38 |
+
"tvOS" : "16.0",
|
| 39 |
+
"visionOS" : "1.0",
|
| 40 |
+
"watchOS" : "9.0",
|
| 41 |
+
"iOS" : "16.0",
|
| 42 |
+
"macCatalyst" : "16.0"
|
| 43 |
+
},
|
| 44 |
+
"modelType" : {
|
| 45 |
+
"name" : "MLModelType_mlProgram"
|
| 46 |
+
},
|
| 47 |
+
"userDefinedMetadata" : {
|
| 48 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
| 49 |
+
"com.github.apple.coremltools.source" : "torch==2.2.1",
|
| 50 |
+
"com.github.apple.coremltools.version" : "7.1"
|
| 51 |
+
},
|
| 52 |
+
"inputSchema" : [
|
| 53 |
+
{
|
| 54 |
+
"hasShapeFlexibility" : "0",
|
| 55 |
+
"isOptional" : "0",
|
| 56 |
+
"dataType" : "Float16",
|
| 57 |
+
"formattedType" : "MultiArray (Float16 1 × 128 × 1 × 3000)",
|
| 58 |
+
"shortDescription" : "",
|
| 59 |
+
"shape" : "[1, 128, 1, 3000]",
|
| 60 |
+
"name" : "melspectrogram_features",
|
| 61 |
+
"type" : "MultiArray"
|
| 62 |
+
}
|
| 63 |
+
],
|
| 64 |
+
"generatedClassName" : "AudioEncoder",
|
| 65 |
+
"method" : "predict"
|
| 66 |
+
}
|
| 67 |
+
]
|
distil-whisper_distil-large-v3/AudioEncoder.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
distil-whisper_distil-large-v3/AudioEncoder.mlmodelc/model.mlmodel
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf0987c0d8c3fe180877b12ba5b4ac1d890e011f2103926e53186089feced575
|
| 3 |
+
size 408667
|
distil-whisper_distil-large-v3/AudioEncoder.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8406a888fff74171e94d937de18b722373f083232782132ffbe5cd0ecc0f41db
|
| 3 |
+
size 1273974400
|
distil-whisper_distil-large-v3/MelSpectrogram.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:091a361134891f94e613562771beea0d93a9aefbc6984ba86c60f856e07a508f
|
| 3 |
+
size 243
|
distil-whisper_distil-large-v3/MelSpectrogram.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f3c5778c86d6fbc6a9817a56dbcac05a946a4d95c77f6db8355572f3be9e9a68
|
| 3 |
+
size 329
|
distil-whisper_distil-large-v3/MelSpectrogram.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"metadataOutputVersion" : "3.0",
|
| 4 |
+
"storagePrecision" : "Float16",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float16",
|
| 10 |
+
"formattedType" : "MultiArray (Float16 1 × 128 × 1 × 3000)",
|
| 11 |
+
"shortDescription" : "",
|
| 12 |
+
"shape" : "[1, 128, 1, 3000]",
|
| 13 |
+
"name" : "melspectrogram_features",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"modelParameters" : [
|
| 18 |
+
|
| 19 |
+
],
|
| 20 |
+
"specificationVersion" : 7,
|
| 21 |
+
"mlProgramOperationTypeHistogram" : {
|
| 22 |
+
"Pad" : 1,
|
| 23 |
+
"Ios16.mul" : 2,
|
| 24 |
+
"SliceByIndex" : 1,
|
| 25 |
+
"Ios16.sub" : 1,
|
| 26 |
+
"Ios16.log" : 1,
|
| 27 |
+
"Ios16.conv" : 2,
|
| 28 |
+
"Ios16.add" : 3,
|
| 29 |
+
"Ios16.square" : 2,
|
| 30 |
+
"Ios16.matmul" : 1,
|
| 31 |
+
"Squeeze" : 2,
|
| 32 |
+
"Ios16.maximum" : 1,
|
| 33 |
+
"ExpandDims" : 4,
|
| 34 |
+
"Ios16.reduceMax" : 1,
|
| 35 |
+
"Identity" : 1,
|
| 36 |
+
"Ios16.reshape" : 2
|
| 37 |
+
},
|
| 38 |
+
"computePrecision" : "Mixed (Float16, Int32)",
|
| 39 |
+
"isUpdatable" : "0",
|
| 40 |
+
"availability" : {
|
| 41 |
+
"macOS" : "13.0",
|
| 42 |
+
"tvOS" : "16.0",
|
| 43 |
+
"visionOS" : "1.0",
|
| 44 |
+
"watchOS" : "9.0",
|
| 45 |
+
"iOS" : "16.0",
|
| 46 |
+
"macCatalyst" : "16.0"
|
| 47 |
+
},
|
| 48 |
+
"modelType" : {
|
| 49 |
+
"name" : "MLModelType_mlProgram"
|
| 50 |
+
},
|
| 51 |
+
"userDefinedMetadata" : {
|
| 52 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
| 53 |
+
"com.github.apple.coremltools.source" : "torch==2.2.1",
|
| 54 |
+
"com.github.apple.coremltools.version" : "7.1"
|
| 55 |
+
},
|
| 56 |
+
"inputSchema" : [
|
| 57 |
+
{
|
| 58 |
+
"hasShapeFlexibility" : "0",
|
| 59 |
+
"isOptional" : "0",
|
| 60 |
+
"dataType" : "Float16",
|
| 61 |
+
"formattedType" : "MultiArray (Float16 480000)",
|
| 62 |
+
"shortDescription" : "",
|
| 63 |
+
"shape" : "[480000]",
|
| 64 |
+
"name" : "audio",
|
| 65 |
+
"type" : "MultiArray"
|
| 66 |
+
}
|
| 67 |
+
],
|
| 68 |
+
"generatedClassName" : "MelSpectrogram",
|
| 69 |
+
"method" : "predict"
|
| 70 |
+
}
|
| 71 |
+
]
|
distil-whisper_distil-large-v3/MelSpectrogram.mlmodelc/model.mil
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
program(1.0)
|
| 2 |
+
[buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "5.33.5"}, {"coremlc-version", "1877.40.3"}, {"coremltools-component-torch", "2.2.1"}, {"coremltools-source-dialect", "TorchScript"}, {"coremltools-version", "7.1"}})]
|
| 3 |
+
{
|
| 4 |
+
func main<ios16>(tensor<fp16, [480000]> audio) {
|
| 5 |
+
tensor<int32, [3]> var_10 = const()[name = tensor<string, []>("op_10"), val = tensor<int32, [3]>([1, 1, 480000])];
|
| 6 |
+
tensor<fp16, [1, 1, 480000]> input_1_cast_fp16 = reshape(shape = var_10, x = audio)[name = tensor<string, []>("input_1_cast_fp16")];
|
| 7 |
+
tensor<int32, [6]> input_3_pad_0 = const()[name = tensor<string, []>("input_3_pad_0"), val = tensor<int32, [6]>([0, 0, 0, 0, 200, 200])];
|
| 8 |
+
tensor<string, []> input_3_mode_0 = const()[name = tensor<string, []>("input_3_mode_0"), val = tensor<string, []>("reflect")];
|
| 9 |
+
tensor<fp16, []> input_3_constant_val_0_to_fp16 = const()[name = tensor<string, []>("input_3_constant_val_0_to_fp16"), val = tensor<fp16, []>(0x0p+0)];
|
| 10 |
+
tensor<fp16, [1, 1, 480400]> input_3_cast_fp16 = pad(constant_val = input_3_constant_val_0_to_fp16, mode = input_3_mode_0, pad = input_3_pad_0, x = input_1_cast_fp16)[name = tensor<string, []>("input_3_cast_fp16")];
|
| 11 |
+
tensor<int32, [1]> var_22 = const()[name = tensor<string, []>("op_22"), val = tensor<int32, [1]>([480400])];
|
| 12 |
+
tensor<fp16, [480400]> input_cast_fp16 = reshape(shape = var_22, x = input_3_cast_fp16)[name = tensor<string, []>("input_cast_fp16")];
|
| 13 |
+
tensor<int32, [1]> expand_dims_0_axes_0 = const()[name = tensor<string, []>("expand_dims_0_axes_0"), val = tensor<int32, [1]>([0])];
|
| 14 |
+
tensor<fp16, [1, 480400]> expand_dims_0_cast_fp16 = expand_dims(axes = expand_dims_0_axes_0, x = input_cast_fp16)[name = tensor<string, []>("expand_dims_0_cast_fp16")];
|
| 15 |
+
tensor<int32, [1]> expand_dims_3 = const()[name = tensor<string, []>("expand_dims_3"), val = tensor<int32, [1]>([160])];
|
| 16 |
+
tensor<int32, [1]> expand_dims_4_axes_0 = const()[name = tensor<string, []>("expand_dims_4_axes_0"), val = tensor<int32, [1]>([1])];
|
| 17 |
+
tensor<fp16, [1, 1, 480400]> expand_dims_4_cast_fp16 = expand_dims(axes = expand_dims_4_axes_0, x = expand_dims_0_cast_fp16)[name = tensor<string, []>("expand_dims_4_cast_fp16")];
|
| 18 |
+
tensor<string, []> conv_0_pad_type_0 = const()[name = tensor<string, []>("conv_0_pad_type_0"), val = tensor<string, []>("valid")];
|
| 19 |
+
tensor<int32, [2]> conv_0_pad_0 = const()[name = tensor<string, []>("conv_0_pad_0"), val = tensor<int32, [2]>([0, 0])];
|
| 20 |
+
tensor<int32, [1]> conv_0_dilations_0 = const()[name = tensor<string, []>("conv_0_dilations_0"), val = tensor<int32, [1]>([1])];
|
| 21 |
+
tensor<int32, []> conv_0_groups_0 = const()[name = tensor<string, []>("conv_0_groups_0"), val = tensor<int32, []>(1)];
|
| 22 |
+
tensor<fp16, [201, 1, 400]> expand_dims_1_to_fp16 = const()[name = tensor<string, []>("expand_dims_1_to_fp16"), val = tensor<fp16, [201, 1, 400]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(64)))];
|
| 23 |
+
tensor<fp16, [1, 201, 3001]> conv_0_cast_fp16 = conv(dilations = conv_0_dilations_0, groups = conv_0_groups_0, pad = conv_0_pad_0, pad_type = conv_0_pad_type_0, strides = expand_dims_3, weight = expand_dims_1_to_fp16, x = expand_dims_4_cast_fp16)[name = tensor<string, []>("conv_0_cast_fp16")];
|
| 24 |
+
tensor<string, []> conv_1_pad_type_0 = const()[name = tensor<string, []>("conv_1_pad_type_0"), val = tensor<string, []>("valid")];
|
| 25 |
+
tensor<int32, [2]> conv_1_pad_0 = const()[name = tensor<string, []>("conv_1_pad_0"), val = tensor<int32, [2]>([0, 0])];
|
| 26 |
+
tensor<int32, [1]> conv_1_dilations_0 = const()[name = tensor<string, []>("conv_1_dilations_0"), val = tensor<int32, [1]>([1])];
|
| 27 |
+
tensor<int32, []> conv_1_groups_0 = const()[name = tensor<string, []>("conv_1_groups_0"), val = tensor<int32, []>(1)];
|
| 28 |
+
tensor<fp16, [201, 1, 400]> expand_dims_2_to_fp16 = const()[name = tensor<string, []>("expand_dims_2_to_fp16"), val = tensor<fp16, [201, 1, 400]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(160960)))];
|
| 29 |
+
tensor<fp16, [1, 201, 3001]> conv_1_cast_fp16 = conv(dilations = conv_1_dilations_0, groups = conv_1_groups_0, pad = conv_1_pad_0, pad_type = conv_1_pad_type_0, strides = expand_dims_3, weight = expand_dims_2_to_fp16, x = expand_dims_4_cast_fp16)[name = tensor<string, []>("conv_1_cast_fp16")];
|
| 30 |
+
tensor<int32, [1]> squeeze_0_axes_0 = const()[name = tensor<string, []>("squeeze_0_axes_0"), val = tensor<int32, [1]>([0])];
|
| 31 |
+
tensor<fp16, [201, 3001]> squeeze_0_cast_fp16 = squeeze(axes = squeeze_0_axes_0, x = conv_0_cast_fp16)[name = tensor<string, []>("squeeze_0_cast_fp16")];
|
| 32 |
+
tensor<int32, [1]> squeeze_1_axes_0 = const()[name = tensor<string, []>("squeeze_1_axes_0"), val = tensor<int32, [1]>([0])];
|
| 33 |
+
tensor<fp16, [201, 3001]> squeeze_1_cast_fp16 = squeeze(axes = squeeze_1_axes_0, x = conv_1_cast_fp16)[name = tensor<string, []>("squeeze_1_cast_fp16")];
|
| 34 |
+
tensor<fp16, [201, 3001]> square_0_cast_fp16 = square(x = squeeze_0_cast_fp16)[name = tensor<string, []>("square_0_cast_fp16")];
|
| 35 |
+
tensor<fp16, [201, 3001]> square_1_cast_fp16 = square(x = squeeze_1_cast_fp16)[name = tensor<string, []>("square_1_cast_fp16")];
|
| 36 |
+
tensor<fp16, [201, 3001]> add_1_cast_fp16 = add(x = square_0_cast_fp16, y = square_1_cast_fp16)[name = tensor<string, []>("add_1_cast_fp16")];
|
| 37 |
+
tensor<fp16, [201, 3001]> magnitudes_1_cast_fp16 = identity(x = add_1_cast_fp16)[name = tensor<string, []>("magnitudes_1_cast_fp16")];
|
| 38 |
+
tensor<int32, [2]> magnitudes_begin_0 = const()[name = tensor<string, []>("magnitudes_begin_0"), val = tensor<int32, [2]>([0, 0])];
|
| 39 |
+
tensor<int32, [2]> magnitudes_end_0 = const()[name = tensor<string, []>("magnitudes_end_0"), val = tensor<int32, [2]>([201, 3000])];
|
| 40 |
+
tensor<bool, [2]> magnitudes_end_mask_0 = const()[name = tensor<string, []>("magnitudes_end_mask_0"), val = tensor<bool, [2]>([true, false])];
|
| 41 |
+
tensor<fp16, [201, 3000]> magnitudes_cast_fp16 = slice_by_index(begin = magnitudes_begin_0, end = magnitudes_end_0, end_mask = magnitudes_end_mask_0, x = magnitudes_1_cast_fp16)[name = tensor<string, []>("magnitudes_cast_fp16")];
|
| 42 |
+
tensor<bool, []> mel_spec_1_transpose_x_0 = const()[name = tensor<string, []>("mel_spec_1_transpose_x_0"), val = tensor<bool, []>(false)];
|
| 43 |
+
tensor<bool, []> mel_spec_1_transpose_y_0 = const()[name = tensor<string, []>("mel_spec_1_transpose_y_0"), val = tensor<bool, []>(false)];
|
| 44 |
+
tensor<fp16, [128, 201]> mel_filters_to_fp16 = const()[name = tensor<string, []>("mel_filters_to_fp16"), val = tensor<fp16, [128, 201]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(321856)))];
|
| 45 |
+
tensor<fp16, [128, 3000]> mel_spec_1_cast_fp16 = matmul(transpose_x = mel_spec_1_transpose_x_0, transpose_y = mel_spec_1_transpose_y_0, x = mel_filters_to_fp16, y = magnitudes_cast_fp16)[name = tensor<string, []>("mel_spec_1_cast_fp16")];
|
| 46 |
+
tensor<fp16, []> var_41_to_fp16 = const()[name = tensor<string, []>("op_41_to_fp16"), val = tensor<fp16, []>(0x1p-24)];
|
| 47 |
+
tensor<fp16, [128, 3000]> mel_spec_cast_fp16 = add(x = mel_spec_1_cast_fp16, y = var_41_to_fp16)[name = tensor<string, []>("mel_spec_cast_fp16")];
|
| 48 |
+
tensor<fp16, []> log_0_epsilon_0_to_fp16 = const()[name = tensor<string, []>("log_0_epsilon_0_to_fp16"), val = tensor<fp16, []>(0x0p+0)];
|
| 49 |
+
tensor<fp16, [128, 3000]> log_0_cast_fp16 = log(epsilon = log_0_epsilon_0_to_fp16, x = mel_spec_cast_fp16)[name = tensor<string, []>("log_0_cast_fp16")];
|
| 50 |
+
tensor<fp16, []> mul_0_y_0_to_fp16 = const()[name = tensor<string, []>("mul_0_y_0_to_fp16"), val = tensor<fp16, []>(0x1.bccp-2)];
|
| 51 |
+
tensor<fp16, [128, 3000]> mul_0_cast_fp16 = mul(x = log_0_cast_fp16, y = mul_0_y_0_to_fp16)[name = tensor<string, []>("mul_0_cast_fp16")];
|
| 52 |
+
tensor<bool, []> var_44_keep_dims_0 = const()[name = tensor<string, []>("op_44_keep_dims_0"), val = tensor<bool, []>(false)];
|
| 53 |
+
tensor<fp16, []> var_44_cast_fp16 = reduce_max(keep_dims = var_44_keep_dims_0, x = mul_0_cast_fp16)[name = tensor<string, []>("op_44_cast_fp16")];
|
| 54 |
+
tensor<fp16, []> var_46_to_fp16 = const()[name = tensor<string, []>("op_46_to_fp16"), val = tensor<fp16, []>(0x1p+3)];
|
| 55 |
+
tensor<fp16, []> var_47_cast_fp16 = sub(x = var_44_cast_fp16, y = var_46_to_fp16)[name = tensor<string, []>("op_47_cast_fp16")];
|
| 56 |
+
tensor<fp16, [128, 3000]> log_spec_3_cast_fp16 = maximum(x = mul_0_cast_fp16, y = var_47_cast_fp16)[name = tensor<string, []>("log_spec_3_cast_fp16")];
|
| 57 |
+
tensor<fp16, []> var_50_to_fp16 = const()[name = tensor<string, []>("op_50_to_fp16"), val = tensor<fp16, []>(0x1p+2)];
|
| 58 |
+
tensor<fp16, [128, 3000]> var_51_cast_fp16 = add(x = log_spec_3_cast_fp16, y = var_50_to_fp16)[name = tensor<string, []>("op_51_cast_fp16")];
|
| 59 |
+
tensor<fp16, []> _inversed_log_spec_y_0_to_fp16 = const()[name = tensor<string, []>("_inversed_log_spec_y_0_to_fp16"), val = tensor<fp16, []>(0x1p-2)];
|
| 60 |
+
tensor<fp16, [128, 3000]> _inversed_log_spec_cast_fp16 = mul(x = var_51_cast_fp16, y = _inversed_log_spec_y_0_to_fp16)[name = tensor<string, []>("_inversed_log_spec_cast_fp16")];
|
| 61 |
+
tensor<int32, [1]> var_55_axes_0 = const()[name = tensor<string, []>("op_55_axes_0"), val = tensor<int32, [1]>([0])];
|
| 62 |
+
tensor<fp16, [1, 128, 3000]> var_55_cast_fp16 = expand_dims(axes = var_55_axes_0, x = _inversed_log_spec_cast_fp16)[name = tensor<string, []>("op_55_cast_fp16")];
|
| 63 |
+
tensor<int32, [1]> var_62_axes_0 = const()[name = tensor<string, []>("op_62_axes_0"), val = tensor<int32, [1]>([2])];
|
| 64 |
+
tensor<fp16, [1, 128, 1, 3000]> melspectrogram_features = expand_dims(axes = var_62_axes_0, x = var_55_cast_fp16)[name = tensor<string, []>("op_62_cast_fp16")];
|
| 65 |
+
} -> (melspectrogram_features);
|
| 66 |
+
}
|
distil-whisper_distil-large-v3/MelSpectrogram.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f0c972cf2fd8de717c5129818259ff2a79ba41552b51a024c8d89eaf6fe4496
|
| 3 |
+
size 373376
|
distil-whisper_distil-large-v3/TextDecoder.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a7a330a17952d9875fbb276af9f556979618bbe6b3087e22efe96a92f51efac2
|
| 3 |
+
size 243
|
distil-whisper_distil-large-v3/TextDecoder.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a7372960953afc4893051757be8b0f78b1ed2d582ef5822b806adde589e097a8
|
| 3 |
+
size 633
|
distil-whisper_distil-large-v3/TextDecoder.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"metadataOutputVersion" : "3.0",
|
| 4 |
+
"storagePrecision" : "Float16",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float16",
|
| 10 |
+
"formattedType" : "MultiArray (Float16 1 × 1 × 51866)",
|
| 11 |
+
"shortDescription" : "",
|
| 12 |
+
"shape" : "[1, 1, 51866]",
|
| 13 |
+
"name" : "logits",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"hasShapeFlexibility" : "0",
|
| 18 |
+
"isOptional" : "0",
|
| 19 |
+
"dataType" : "Float16",
|
| 20 |
+
"formattedType" : "MultiArray (Float16 1 × 2560 × 1 × 1)",
|
| 21 |
+
"shortDescription" : "",
|
| 22 |
+
"shape" : "[1, 2560, 1, 1]",
|
| 23 |
+
"name" : "key_cache_updates",
|
| 24 |
+
"type" : "MultiArray"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"hasShapeFlexibility" : "0",
|
| 28 |
+
"isOptional" : "0",
|
| 29 |
+
"dataType" : "Float16",
|
| 30 |
+
"formattedType" : "MultiArray (Float16 1 × 2560 × 1 × 1)",
|
| 31 |
+
"shortDescription" : "",
|
| 32 |
+
"shape" : "[1, 2560, 1, 1]",
|
| 33 |
+
"name" : "value_cache_updates",
|
| 34 |
+
"type" : "MultiArray"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"hasShapeFlexibility" : "0",
|
| 38 |
+
"isOptional" : "0",
|
| 39 |
+
"dataType" : "Float16",
|
| 40 |
+
"formattedType" : "MultiArray (Float16 1 × 1500)",
|
| 41 |
+
"shortDescription" : "",
|
| 42 |
+
"shape" : "[1, 1500]",
|
| 43 |
+
"name" : "alignment_heads_weights",
|
| 44 |
+
"type" : "MultiArray"
|
| 45 |
+
}
|
| 46 |
+
],
|
| 47 |
+
"modelParameters" : [
|
| 48 |
+
|
| 49 |
+
],
|
| 50 |
+
"specificationVersion" : 7,
|
| 51 |
+
"mlProgramOperationTypeHistogram" : {
|
| 52 |
+
"Split" : 2,
|
| 53 |
+
"Concat" : 3,
|
| 54 |
+
"Ios16.rsqrt" : 7,
|
| 55 |
+
"Ios16.mul" : 26,
|
| 56 |
+
"Squeeze" : 1,
|
| 57 |
+
"SliceByIndex" : 40,
|
| 58 |
+
"Ios16.sub" : 8,
|
| 59 |
+
"Transpose" : 1,
|
| 60 |
+
"Ios16.conv" : 20,
|
| 61 |
+
"Ios16.add" : 20,
|
| 62 |
+
"Ios16.linear" : 1,
|
| 63 |
+
"Ios16.matmul" : 8,
|
| 64 |
+
"Ios16.gelu" : 2,
|
| 65 |
+
"Ios16.reduceMean" : 15,
|
| 66 |
+
"ExpandDims" : 6,
|
| 67 |
+
"Ios16.batchNorm" : 7,
|
| 68 |
+
"Ios16.gather" : 2,
|
| 69 |
+
"Ios16.reshape" : 16,
|
| 70 |
+
"Ios16.softmax" : 4
|
| 71 |
+
},
|
| 72 |
+
"computePrecision" : "Mixed (Float16, Int32)",
|
| 73 |
+
"isUpdatable" : "0",
|
| 74 |
+
"availability" : {
|
| 75 |
+
"macOS" : "13.0",
|
| 76 |
+
"tvOS" : "16.0",
|
| 77 |
+
"visionOS" : "1.0",
|
| 78 |
+
"watchOS" : "9.0",
|
| 79 |
+
"iOS" : "16.0",
|
| 80 |
+
"macCatalyst" : "16.0"
|
| 81 |
+
},
|
| 82 |
+
"modelType" : {
|
| 83 |
+
"name" : "MLModelType_mlProgram"
|
| 84 |
+
},
|
| 85 |
+
"userDefinedMetadata" : {
|
| 86 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
| 87 |
+
"com.github.apple.coremltools.source" : "torch==2.2.1",
|
| 88 |
+
"com.github.apple.coremltools.version" : "7.1"
|
| 89 |
+
},
|
| 90 |
+
"inputSchema" : [
|
| 91 |
+
{
|
| 92 |
+
"hasShapeFlexibility" : "0",
|
| 93 |
+
"isOptional" : "0",
|
| 94 |
+
"dataType" : "Int32",
|
| 95 |
+
"formattedType" : "MultiArray (Int32 1)",
|
| 96 |
+
"shortDescription" : "",
|
| 97 |
+
"shape" : "[1]",
|
| 98 |
+
"name" : "input_ids",
|
| 99 |
+
"type" : "MultiArray"
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"hasShapeFlexibility" : "0",
|
| 103 |
+
"isOptional" : "0",
|
| 104 |
+
"dataType" : "Int32",
|
| 105 |
+
"formattedType" : "MultiArray (Int32 1)",
|
| 106 |
+
"shortDescription" : "",
|
| 107 |
+
"shape" : "[1]",
|
| 108 |
+
"name" : "cache_length",
|
| 109 |
+
"type" : "MultiArray"
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"hasShapeFlexibility" : "0",
|
| 113 |
+
"isOptional" : "0",
|
| 114 |
+
"dataType" : "Float16",
|
| 115 |
+
"formattedType" : "MultiArray (Float16 1 × 2560 × 1 × 448)",
|
| 116 |
+
"shortDescription" : "",
|
| 117 |
+
"shape" : "[1, 2560, 1, 448]",
|
| 118 |
+
"name" : "key_cache",
|
| 119 |
+
"type" : "MultiArray"
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"hasShapeFlexibility" : "0",
|
| 123 |
+
"isOptional" : "0",
|
| 124 |
+
"dataType" : "Float16",
|
| 125 |
+
"formattedType" : "MultiArray (Float16 1 × 2560 × 1 × 448)",
|
| 126 |
+
"shortDescription" : "",
|
| 127 |
+
"shape" : "[1, 2560, 1, 448]",
|
| 128 |
+
"name" : "value_cache",
|
| 129 |
+
"type" : "MultiArray"
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"hasShapeFlexibility" : "0",
|
| 133 |
+
"isOptional" : "0",
|
| 134 |
+
"dataType" : "Float16",
|
| 135 |
+
"formattedType" : "MultiArray (Float16 1 × 448)",
|
| 136 |
+
"shortDescription" : "",
|
| 137 |
+
"shape" : "[1, 448]",
|
| 138 |
+
"name" : "kv_cache_update_mask",
|
| 139 |
+
"type" : "MultiArray"
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"hasShapeFlexibility" : "0",
|
| 143 |
+
"isOptional" : "0",
|
| 144 |
+
"dataType" : "Float16",
|
| 145 |
+
"formattedType" : "MultiArray (Float16 1 × 1280 × 1 × 1500)",
|
| 146 |
+
"shortDescription" : "",
|
| 147 |
+
"shape" : "[1, 1280, 1, 1500]",
|
| 148 |
+
"name" : "encoder_output_embeds",
|
| 149 |
+
"type" : "MultiArray"
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"hasShapeFlexibility" : "0",
|
| 153 |
+
"isOptional" : "0",
|
| 154 |
+
"dataType" : "Float16",
|
| 155 |
+
"formattedType" : "MultiArray (Float16 1 × 448)",
|
| 156 |
+
"shortDescription" : "",
|
| 157 |
+
"shape" : "[1, 448]",
|
| 158 |
+
"name" : "decoder_key_padding_mask",
|
| 159 |
+
"type" : "MultiArray"
|
| 160 |
+
}
|
| 161 |
+
],
|
| 162 |
+
"generatedClassName" : "TextDecoder",
|
| 163 |
+
"method" : "predict"
|
| 164 |
+
}
|
| 165 |
+
]
|
distil-whisper_distil-large-v3/TextDecoder.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
distil-whisper_distil-large-v3/TextDecoder.mlmodelc/model.mlmodel
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a7ffcd457ab6ed7bc5e6f8dc699807c7605ffbba71940662332d9b7fe599503
|
| 3 |
+
size 83662
|
distil-whisper_distil-large-v3/TextDecoder.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a38bc3b78a21d5bd912bd8ce72762456f8cdcfdfec5ce3767d678584e6e8d6c
|
| 3 |
+
size 238986036
|
distil-whisper_distil-large-v3/config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"_name_or_path": "./distil-large-v3", "activation_dropout": 0.0, "activation_function": "gelu", "apply_spec_augment": false, "architectures": ["WhisperForConditionalGeneration"], "attention_dropout": 0.0, "begin_suppress_tokens": [220, 50257], "bos_token_id": 50257, "classifier_proj_size": 256, "d_model": 1280, "decoder_attention_heads": 20, "decoder_ffn_dim": 5120, "decoder_layerdrop": 0.0, "decoder_layers": 2, "decoder_start_token_id": 50258, "dropout": 0.0, "encoder_attention_heads": 20, "encoder_ffn_dim": 5120, "encoder_layerdrop": 0.0, "encoder_layers": 32, "eos_token_id": 50257, "init_std": 0.02, "is_encoder_decoder": true, "mask_feature_length": 10, "mask_feature_min_masks": 0, "mask_feature_prob": 0.0, "mask_time_length": 10, "mask_time_min_masks": 2, "mask_time_prob": 0.05, "max_length": 448, "max_source_positions": 1500, "max_target_positions": 448, "median_filter_width": 7, "model_type": "whisper", "num_hidden_layers": 32, "num_mel_bins": 128, "pad_token_id": 50256, "scale_embedding": false, "torch_dtype": "float16", "transformers_version": "4.38.0.dev0", "use_cache": true, "use_weighted_layer_sum": false, "vocab_size": 51866}
|
distil-whisper_distil-large-v3/generation_config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"alignment_heads": [[7, 0], [10, 17], [12, 18], [13, 12], [16, 1], [17, 14], [19, 11], [21, 4], [24, 1], [25, 6]], "begin_suppress_tokens": [220, 50257], "bos_token_id": 50257, "decoder_start_token_id": 50258, "eos_token_id": 50257, "forced_decoder_ids": [[1, null], [2, 50360]], "is_multilingual": true, "lang_to_id": {"<|af|>": 50327, "<|am|>": 50334, "<|ar|>": 50272, "<|as|>": 50350, "<|az|>": 50304, "<|ba|>": 50355, "<|be|>": 50330, "<|bg|>": 50292, "<|bn|>": 50302, "<|bo|>": 50347, "<|br|>": 50309, "<|bs|>": 50315, "<|ca|>": 50270, "<|cs|>": 50283, "<|cy|>": 50297, "<|da|>": 50285, "<|de|>": 50261, "<|el|>": 50281, "<|en|>": 50259, "<|es|>": 50262, "<|et|>": 50307, "<|eu|>": 50310, "<|fa|>": 50300, "<|fi|>": 50277, "<|fo|>": 50338, "<|fr|>": 50265, "<|gl|>": 50319, "<|gu|>": 50333, "<|haw|>": 50352, "<|ha|>": 50354, "<|he|>": 50279, "<|hi|>": 50276, "<|hr|>": 50291, "<|ht|>": 50339, "<|hu|>": 50286, "<|hy|>": 50312, "<|id|>": 50275, "<|is|>": 50311, "<|it|>": 50274, "<|ja|>": 50266, "<|jw|>": 50356, "<|ka|>": 50329, "<|kk|>": 50316, "<|km|>": 50323, "<|kn|>": 50306, "<|ko|>": 50264, "<|la|>": 50294, "<|lb|>": 50345, "<|ln|>": 50353, "<|lo|>": 50336, "<|lt|>": 50293, "<|lv|>": 50301, "<|mg|>": 50349, "<|mi|>": 50295, "<|mk|>": 50308, "<|ml|>": 50296, "<|mn|>": 50314, "<|mr|>": 50320, "<|ms|>": 50282, "<|mt|>": 50343, "<|my|>": 50346, "<|ne|>": 50313, "<|nl|>": 50271, "<|nn|>": 50342, "<|no|>": 50288, "<|oc|>": 50328, "<|pa|>": 50321, "<|pl|>": 50269, "<|ps|>": 50340, "<|pt|>": 50267, "<|ro|>": 50284, "<|ru|>": 50263, "<|sa|>": 50344, "<|sd|>": 50332, "<|si|>": 50322, "<|sk|>": 50298, "<|sl|>": 50305, "<|sn|>": 50324, "<|so|>": 50326, "<|sq|>": 50317, "<|sr|>": 50303, "<|su|>": 50357, "<|sv|>": 50273, "<|sw|>": 50318, "<|ta|>": 50287, "<|te|>": 50299, "<|tg|>": 50331, "<|th|>": 50289, "<|tk|>": 50341, "<|tl|>": 50348, "<|tr|>": 50268, "<|tt|>": 50351, "<|uk|>": 50280, "<|ur|>": 50290, "<|uz|>": 50337, "<|vi|>": 50278, "<|yi|>": 50335, "<|yo|>": 50325, "<|yue|>": 50358, "<|zh|>": 50260}, "language": "<|en|>", "max_initial_timestamp_index": 50, "max_length": 448, "no_timestamps_token_id": 50364, "pad_token_id": 50257, "prev_sot_token_id": 50362, "return_timestamps": false, "suppress_tokens": [1, 2, 7, 8, 9, 10, 14, 25, 26, 27, 28, 29, 31, 58, 59, 60, 61, 62, 63, 90, 91, 92, 93, 359, 503, 522, 542, 873, 893, 902, 918, 922, 931, 1350, 1853, 1982, 2460, 2627, 3246, 3253, 3268, 3536, 3846, 3961, 4183, 4667, 6585, 6647, 7273, 9061, 9383, 10428, 10929, 11938, 12033, 12331, 12562, 13793, 14157, 14635, 15265, 15618, 16553, 16604, 18362, 18956, 20075, 21675, 22520, 26130, 26161, 26435, 28279, 29464, 31650, 32302, 32470, 36865, 42863, 47425, 49870, 50254, 50258, 50359, 50360, 50361, 50362, 50363], "task": "transcribe", "task_to_id": {"transcribe": 50360, "translate": 50359}, "transformers_version": "4.38.0.dev0"}
|
distil-whisper_distil-large-v3_594MB/AudioEncoder.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:79120bd7c421c5c29ef5701ec2df116ef1b663951a3a0ac183147e015d35f2ac
|
| 3 |
+
size 243
|
distil-whisper_distil-large-v3_594MB/AudioEncoder.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ed121e756d637301566cc86a4787e2adece71c438774ed1e5652a76d4f9ed62b
|
| 3 |
+
size 348
|
distil-whisper_distil-large-v3_594MB/AudioEncoder.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"metadataOutputVersion" : "3.0",
|
| 4 |
+
"storagePrecision" : "Mixed (Float16, Palettized (4 bits))",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float16",
|
| 10 |
+
"formattedType" : "MultiArray (Float16 1 × 1280 × 1 × 1500)",
|
| 11 |
+
"shortDescription" : "",
|
| 12 |
+
"shape" : "[1, 1280, 1, 1500]",
|
| 13 |
+
"name" : "encoder_output_embeds",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"modelParameters" : [
|
| 18 |
+
|
| 19 |
+
],
|
| 20 |
+
"specificationVersion" : 8,
|
| 21 |
+
"mlProgramOperationTypeHistogram" : {
|
| 22 |
+
"Ios17.mul" : 162,
|
| 23 |
+
"Ios17.rsqrt" : 65,
|
| 24 |
+
"Ios16.constexprLutToDense" : 192,
|
| 25 |
+
"Ios17.conv" : 578,
|
| 26 |
+
"Ios17.matmul" : 64,
|
| 27 |
+
"Ios17.sub" : 65,
|
| 28 |
+
"Ios17.add" : 322,
|
| 29 |
+
"Ios16.reduceMean" : 130,
|
| 30 |
+
"Ios17.batchNorm" : 65,
|
| 31 |
+
"Ios16.softmax" : 32,
|
| 32 |
+
"Ios16.gelu" : 34,
|
| 33 |
+
"Ios17.reshape" : 128
|
| 34 |
+
},
|
| 35 |
+
"computePrecision" : "Mixed (Float16, Float32, Int32)",
|
| 36 |
+
"isUpdatable" : "0",
|
| 37 |
+
"availability" : {
|
| 38 |
+
"macOS" : "14.0",
|
| 39 |
+
"tvOS" : "17.0",
|
| 40 |
+
"visionOS" : "1.0",
|
| 41 |
+
"watchOS" : "10.0",
|
| 42 |
+
"iOS" : "17.0",
|
| 43 |
+
"macCatalyst" : "17.0"
|
| 44 |
+
},
|
| 45 |
+
"modelType" : {
|
| 46 |
+
"name" : "MLModelType_mlProgram"
|
| 47 |
+
},
|
| 48 |
+
"userDefinedMetadata" : {
|
| 49 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
| 50 |
+
"com.github.apple.coremltools.source" : "torch==2.2.0",
|
| 51 |
+
"com.github.apple.coremltools.version" : "7.1"
|
| 52 |
+
},
|
| 53 |
+
"inputSchema" : [
|
| 54 |
+
{
|
| 55 |
+
"hasShapeFlexibility" : "0",
|
| 56 |
+
"isOptional" : "0",
|
| 57 |
+
"dataType" : "Float16",
|
| 58 |
+
"formattedType" : "MultiArray (Float16 1 × 128 × 1 × 3000)",
|
| 59 |
+
"shortDescription" : "",
|
| 60 |
+
"shape" : "[1, 128, 1, 3000]",
|
| 61 |
+
"name" : "melspectrogram_features",
|
| 62 |
+
"type" : "MultiArray"
|
| 63 |
+
}
|
| 64 |
+
],
|
| 65 |
+
"generatedClassName" : "AudioEncoder_mixedBitPalettized_4_0_bit",
|
| 66 |
+
"method" : "predict"
|
| 67 |
+
}
|
| 68 |
+
]
|
distil-whisper_distil-large-v3_594MB/AudioEncoder.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
distil-whisper_distil-large-v3_594MB/AudioEncoder.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8f3ac62177a84bba905517f2546f559fff48c8b27eb57139f8dd7b11a283bc4d
|
| 3 |
+
size 353908416
|
distil-whisper_distil-large-v3_594MB/MelSpectrogram.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:091a361134891f94e613562771beea0d93a9aefbc6984ba86c60f856e07a508f
|
| 3 |
+
size 243
|
distil-whisper_distil-large-v3_594MB/MelSpectrogram.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f3c5778c86d6fbc6a9817a56dbcac05a946a4d95c77f6db8355572f3be9e9a68
|
| 3 |
+
size 329
|
distil-whisper_distil-large-v3_594MB/MelSpectrogram.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"metadataOutputVersion" : "3.0",
|
| 4 |
+
"storagePrecision" : "Float16",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float16",
|
| 10 |
+
"formattedType" : "MultiArray (Float16 1 × 128 × 1 × 3000)",
|
| 11 |
+
"shortDescription" : "",
|
| 12 |
+
"shape" : "[1, 128, 1, 3000]",
|
| 13 |
+
"name" : "melspectrogram_features",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"modelParameters" : [
|
| 18 |
+
|
| 19 |
+
],
|
| 20 |
+
"specificationVersion" : 7,
|
| 21 |
+
"mlProgramOperationTypeHistogram" : {
|
| 22 |
+
"Pad" : 1,
|
| 23 |
+
"Ios16.mul" : 2,
|
| 24 |
+
"SliceByIndex" : 1,
|
| 25 |
+
"Ios16.sub" : 1,
|
| 26 |
+
"Ios16.log" : 1,
|
| 27 |
+
"Ios16.conv" : 2,
|
| 28 |
+
"Ios16.add" : 3,
|
| 29 |
+
"Ios16.square" : 2,
|
| 30 |
+
"Ios16.matmul" : 1,
|
| 31 |
+
"Squeeze" : 2,
|
| 32 |
+
"Ios16.maximum" : 1,
|
| 33 |
+
"ExpandDims" : 4,
|
| 34 |
+
"Ios16.reduceMax" : 1,
|
| 35 |
+
"Identity" : 1,
|
| 36 |
+
"Ios16.reshape" : 2
|
| 37 |
+
},
|
| 38 |
+
"computePrecision" : "Mixed (Float16, Int32)",
|
| 39 |
+
"isUpdatable" : "0",
|
| 40 |
+
"availability" : {
|
| 41 |
+
"macOS" : "13.0",
|
| 42 |
+
"tvOS" : "16.0",
|
| 43 |
+
"visionOS" : "1.0",
|
| 44 |
+
"watchOS" : "9.0",
|
| 45 |
+
"iOS" : "16.0",
|
| 46 |
+
"macCatalyst" : "16.0"
|
| 47 |
+
},
|
| 48 |
+
"modelType" : {
|
| 49 |
+
"name" : "MLModelType_mlProgram"
|
| 50 |
+
},
|
| 51 |
+
"userDefinedMetadata" : {
|
| 52 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
| 53 |
+
"com.github.apple.coremltools.source" : "torch==2.2.1",
|
| 54 |
+
"com.github.apple.coremltools.version" : "7.1"
|
| 55 |
+
},
|
| 56 |
+
"inputSchema" : [
|
| 57 |
+
{
|
| 58 |
+
"hasShapeFlexibility" : "0",
|
| 59 |
+
"isOptional" : "0",
|
| 60 |
+
"dataType" : "Float16",
|
| 61 |
+
"formattedType" : "MultiArray (Float16 480000)",
|
| 62 |
+
"shortDescription" : "",
|
| 63 |
+
"shape" : "[480000]",
|
| 64 |
+
"name" : "audio",
|
| 65 |
+
"type" : "MultiArray"
|
| 66 |
+
}
|
| 67 |
+
],
|
| 68 |
+
"generatedClassName" : "MelSpectrogram",
|
| 69 |
+
"method" : "predict"
|
| 70 |
+
}
|
| 71 |
+
]
|
distil-whisper_distil-large-v3_594MB/MelSpectrogram.mlmodelc/model.mil
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
program(1.0)
|
| 2 |
+
[buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "5.33.5"}, {"coremlc-version", "1877.40.3"}, {"coremltools-component-torch", "2.2.1"}, {"coremltools-source-dialect", "TorchScript"}, {"coremltools-version", "7.1"}})]
|
| 3 |
+
{
|
| 4 |
+
func main<ios16>(tensor<fp16, [480000]> audio) {
|
| 5 |
+
tensor<int32, [3]> var_10 = const()[name = tensor<string, []>("op_10"), val = tensor<int32, [3]>([1, 1, 480000])];
|
| 6 |
+
tensor<fp16, [1, 1, 480000]> input_1_cast_fp16 = reshape(shape = var_10, x = audio)[name = tensor<string, []>("input_1_cast_fp16")];
|
| 7 |
+
tensor<int32, [6]> input_3_pad_0 = const()[name = tensor<string, []>("input_3_pad_0"), val = tensor<int32, [6]>([0, 0, 0, 0, 200, 200])];
|
| 8 |
+
tensor<string, []> input_3_mode_0 = const()[name = tensor<string, []>("input_3_mode_0"), val = tensor<string, []>("reflect")];
|
| 9 |
+
tensor<fp16, []> input_3_constant_val_0_to_fp16 = const()[name = tensor<string, []>("input_3_constant_val_0_to_fp16"), val = tensor<fp16, []>(0x0p+0)];
|
| 10 |
+
tensor<fp16, [1, 1, 480400]> input_3_cast_fp16 = pad(constant_val = input_3_constant_val_0_to_fp16, mode = input_3_mode_0, pad = input_3_pad_0, x = input_1_cast_fp16)[name = tensor<string, []>("input_3_cast_fp16")];
|
| 11 |
+
tensor<int32, [1]> var_22 = const()[name = tensor<string, []>("op_22"), val = tensor<int32, [1]>([480400])];
|
| 12 |
+
tensor<fp16, [480400]> input_cast_fp16 = reshape(shape = var_22, x = input_3_cast_fp16)[name = tensor<string, []>("input_cast_fp16")];
|
| 13 |
+
tensor<int32, [1]> expand_dims_0_axes_0 = const()[name = tensor<string, []>("expand_dims_0_axes_0"), val = tensor<int32, [1]>([0])];
|
| 14 |
+
tensor<fp16, [1, 480400]> expand_dims_0_cast_fp16 = expand_dims(axes = expand_dims_0_axes_0, x = input_cast_fp16)[name = tensor<string, []>("expand_dims_0_cast_fp16")];
|
| 15 |
+
tensor<int32, [1]> expand_dims_3 = const()[name = tensor<string, []>("expand_dims_3"), val = tensor<int32, [1]>([160])];
|
| 16 |
+
tensor<int32, [1]> expand_dims_4_axes_0 = const()[name = tensor<string, []>("expand_dims_4_axes_0"), val = tensor<int32, [1]>([1])];
|
| 17 |
+
tensor<fp16, [1, 1, 480400]> expand_dims_4_cast_fp16 = expand_dims(axes = expand_dims_4_axes_0, x = expand_dims_0_cast_fp16)[name = tensor<string, []>("expand_dims_4_cast_fp16")];
|
| 18 |
+
tensor<string, []> conv_0_pad_type_0 = const()[name = tensor<string, []>("conv_0_pad_type_0"), val = tensor<string, []>("valid")];
|
| 19 |
+
tensor<int32, [2]> conv_0_pad_0 = const()[name = tensor<string, []>("conv_0_pad_0"), val = tensor<int32, [2]>([0, 0])];
|
| 20 |
+
tensor<int32, [1]> conv_0_dilations_0 = const()[name = tensor<string, []>("conv_0_dilations_0"), val = tensor<int32, [1]>([1])];
|
| 21 |
+
tensor<int32, []> conv_0_groups_0 = const()[name = tensor<string, []>("conv_0_groups_0"), val = tensor<int32, []>(1)];
|
| 22 |
+
tensor<fp16, [201, 1, 400]> expand_dims_1_to_fp16 = const()[name = tensor<string, []>("expand_dims_1_to_fp16"), val = tensor<fp16, [201, 1, 400]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(64)))];
|
| 23 |
+
tensor<fp16, [1, 201, 3001]> conv_0_cast_fp16 = conv(dilations = conv_0_dilations_0, groups = conv_0_groups_0, pad = conv_0_pad_0, pad_type = conv_0_pad_type_0, strides = expand_dims_3, weight = expand_dims_1_to_fp16, x = expand_dims_4_cast_fp16)[name = tensor<string, []>("conv_0_cast_fp16")];
|
| 24 |
+
tensor<string, []> conv_1_pad_type_0 = const()[name = tensor<string, []>("conv_1_pad_type_0"), val = tensor<string, []>("valid")];
|
| 25 |
+
tensor<int32, [2]> conv_1_pad_0 = const()[name = tensor<string, []>("conv_1_pad_0"), val = tensor<int32, [2]>([0, 0])];
|
| 26 |
+
tensor<int32, [1]> conv_1_dilations_0 = const()[name = tensor<string, []>("conv_1_dilations_0"), val = tensor<int32, [1]>([1])];
|
| 27 |
+
tensor<int32, []> conv_1_groups_0 = const()[name = tensor<string, []>("conv_1_groups_0"), val = tensor<int32, []>(1)];
|
| 28 |
+
tensor<fp16, [201, 1, 400]> expand_dims_2_to_fp16 = const()[name = tensor<string, []>("expand_dims_2_to_fp16"), val = tensor<fp16, [201, 1, 400]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(160960)))];
|
| 29 |
+
tensor<fp16, [1, 201, 3001]> conv_1_cast_fp16 = conv(dilations = conv_1_dilations_0, groups = conv_1_groups_0, pad = conv_1_pad_0, pad_type = conv_1_pad_type_0, strides = expand_dims_3, weight = expand_dims_2_to_fp16, x = expand_dims_4_cast_fp16)[name = tensor<string, []>("conv_1_cast_fp16")];
|
| 30 |
+
tensor<int32, [1]> squeeze_0_axes_0 = const()[name = tensor<string, []>("squeeze_0_axes_0"), val = tensor<int32, [1]>([0])];
|
| 31 |
+
tensor<fp16, [201, 3001]> squeeze_0_cast_fp16 = squeeze(axes = squeeze_0_axes_0, x = conv_0_cast_fp16)[name = tensor<string, []>("squeeze_0_cast_fp16")];
|
| 32 |
+
tensor<int32, [1]> squeeze_1_axes_0 = const()[name = tensor<string, []>("squeeze_1_axes_0"), val = tensor<int32, [1]>([0])];
|
| 33 |
+
tensor<fp16, [201, 3001]> squeeze_1_cast_fp16 = squeeze(axes = squeeze_1_axes_0, x = conv_1_cast_fp16)[name = tensor<string, []>("squeeze_1_cast_fp16")];
|
| 34 |
+
tensor<fp16, [201, 3001]> square_0_cast_fp16 = square(x = squeeze_0_cast_fp16)[name = tensor<string, []>("square_0_cast_fp16")];
|
| 35 |
+
tensor<fp16, [201, 3001]> square_1_cast_fp16 = square(x = squeeze_1_cast_fp16)[name = tensor<string, []>("square_1_cast_fp16")];
|
| 36 |
+
tensor<fp16, [201, 3001]> add_1_cast_fp16 = add(x = square_0_cast_fp16, y = square_1_cast_fp16)[name = tensor<string, []>("add_1_cast_fp16")];
|
| 37 |
+
tensor<fp16, [201, 3001]> magnitudes_1_cast_fp16 = identity(x = add_1_cast_fp16)[name = tensor<string, []>("magnitudes_1_cast_fp16")];
|
| 38 |
+
tensor<int32, [2]> magnitudes_begin_0 = const()[name = tensor<string, []>("magnitudes_begin_0"), val = tensor<int32, [2]>([0, 0])];
|
| 39 |
+
tensor<int32, [2]> magnitudes_end_0 = const()[name = tensor<string, []>("magnitudes_end_0"), val = tensor<int32, [2]>([201, 3000])];
|
| 40 |
+
tensor<bool, [2]> magnitudes_end_mask_0 = const()[name = tensor<string, []>("magnitudes_end_mask_0"), val = tensor<bool, [2]>([true, false])];
|
| 41 |
+
tensor<fp16, [201, 3000]> magnitudes_cast_fp16 = slice_by_index(begin = magnitudes_begin_0, end = magnitudes_end_0, end_mask = magnitudes_end_mask_0, x = magnitudes_1_cast_fp16)[name = tensor<string, []>("magnitudes_cast_fp16")];
|
| 42 |
+
tensor<bool, []> mel_spec_1_transpose_x_0 = const()[name = tensor<string, []>("mel_spec_1_transpose_x_0"), val = tensor<bool, []>(false)];
|
| 43 |
+
tensor<bool, []> mel_spec_1_transpose_y_0 = const()[name = tensor<string, []>("mel_spec_1_transpose_y_0"), val = tensor<bool, []>(false)];
|
| 44 |
+
tensor<fp16, [128, 201]> mel_filters_to_fp16 = const()[name = tensor<string, []>("mel_filters_to_fp16"), val = tensor<fp16, [128, 201]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(321856)))];
|
| 45 |
+
tensor<fp16, [128, 3000]> mel_spec_1_cast_fp16 = matmul(transpose_x = mel_spec_1_transpose_x_0, transpose_y = mel_spec_1_transpose_y_0, x = mel_filters_to_fp16, y = magnitudes_cast_fp16)[name = tensor<string, []>("mel_spec_1_cast_fp16")];
|
| 46 |
+
tensor<fp16, []> var_41_to_fp16 = const()[name = tensor<string, []>("op_41_to_fp16"), val = tensor<fp16, []>(0x1p-24)];
|
| 47 |
+
tensor<fp16, [128, 3000]> mel_spec_cast_fp16 = add(x = mel_spec_1_cast_fp16, y = var_41_to_fp16)[name = tensor<string, []>("mel_spec_cast_fp16")];
|
| 48 |
+
tensor<fp16, []> log_0_epsilon_0_to_fp16 = const()[name = tensor<string, []>("log_0_epsilon_0_to_fp16"), val = tensor<fp16, []>(0x0p+0)];
|
| 49 |
+
tensor<fp16, [128, 3000]> log_0_cast_fp16 = log(epsilon = log_0_epsilon_0_to_fp16, x = mel_spec_cast_fp16)[name = tensor<string, []>("log_0_cast_fp16")];
|
| 50 |
+
tensor<fp16, []> mul_0_y_0_to_fp16 = const()[name = tensor<string, []>("mul_0_y_0_to_fp16"), val = tensor<fp16, []>(0x1.bccp-2)];
|
| 51 |
+
tensor<fp16, [128, 3000]> mul_0_cast_fp16 = mul(x = log_0_cast_fp16, y = mul_0_y_0_to_fp16)[name = tensor<string, []>("mul_0_cast_fp16")];
|
| 52 |
+
tensor<bool, []> var_44_keep_dims_0 = const()[name = tensor<string, []>("op_44_keep_dims_0"), val = tensor<bool, []>(false)];
|
| 53 |
+
tensor<fp16, []> var_44_cast_fp16 = reduce_max(keep_dims = var_44_keep_dims_0, x = mul_0_cast_fp16)[name = tensor<string, []>("op_44_cast_fp16")];
|
| 54 |
+
tensor<fp16, []> var_46_to_fp16 = const()[name = tensor<string, []>("op_46_to_fp16"), val = tensor<fp16, []>(0x1p+3)];
|
| 55 |
+
tensor<fp16, []> var_47_cast_fp16 = sub(x = var_44_cast_fp16, y = var_46_to_fp16)[name = tensor<string, []>("op_47_cast_fp16")];
|
| 56 |
+
tensor<fp16, [128, 3000]> log_spec_3_cast_fp16 = maximum(x = mul_0_cast_fp16, y = var_47_cast_fp16)[name = tensor<string, []>("log_spec_3_cast_fp16")];
|
| 57 |
+
tensor<fp16, []> var_50_to_fp16 = const()[name = tensor<string, []>("op_50_to_fp16"), val = tensor<fp16, []>(0x1p+2)];
|
| 58 |
+
tensor<fp16, [128, 3000]> var_51_cast_fp16 = add(x = log_spec_3_cast_fp16, y = var_50_to_fp16)[name = tensor<string, []>("op_51_cast_fp16")];
|
| 59 |
+
tensor<fp16, []> _inversed_log_spec_y_0_to_fp16 = const()[name = tensor<string, []>("_inversed_log_spec_y_0_to_fp16"), val = tensor<fp16, []>(0x1p-2)];
|
| 60 |
+
tensor<fp16, [128, 3000]> _inversed_log_spec_cast_fp16 = mul(x = var_51_cast_fp16, y = _inversed_log_spec_y_0_to_fp16)[name = tensor<string, []>("_inversed_log_spec_cast_fp16")];
|
| 61 |
+
tensor<int32, [1]> var_55_axes_0 = const()[name = tensor<string, []>("op_55_axes_0"), val = tensor<int32, [1]>([0])];
|
| 62 |
+
tensor<fp16, [1, 128, 3000]> var_55_cast_fp16 = expand_dims(axes = var_55_axes_0, x = _inversed_log_spec_cast_fp16)[name = tensor<string, []>("op_55_cast_fp16")];
|
| 63 |
+
tensor<int32, [1]> var_62_axes_0 = const()[name = tensor<string, []>("op_62_axes_0"), val = tensor<int32, [1]>([2])];
|
| 64 |
+
tensor<fp16, [1, 128, 1, 3000]> melspectrogram_features = expand_dims(axes = var_62_axes_0, x = var_55_cast_fp16)[name = tensor<string, []>("op_62_cast_fp16")];
|
| 65 |
+
} -> (melspectrogram_features);
|
| 66 |
+
}
|
distil-whisper_distil-large-v3_594MB/MelSpectrogram.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f0c972cf2fd8de717c5129818259ff2a79ba41552b51a024c8d89eaf6fe4496
|
| 3 |
+
size 373376
|
distil-whisper_distil-large-v3_594MB/TextDecoder.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a7a330a17952d9875fbb276af9f556979618bbe6b3087e22efe96a92f51efac2
|
| 3 |
+
size 243
|
distil-whisper_distil-large-v3_594MB/TextDecoder.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a7372960953afc4893051757be8b0f78b1ed2d582ef5822b806adde589e097a8
|
| 3 |
+
size 633
|
distil-whisper_distil-large-v3_594MB/TextDecoder.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"metadataOutputVersion" : "3.0",
|
| 4 |
+
"storagePrecision" : "Float16",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float16",
|
| 10 |
+
"formattedType" : "MultiArray (Float16 1 × 1 × 51866)",
|
| 11 |
+
"shortDescription" : "",
|
| 12 |
+
"shape" : "[1, 1, 51866]",
|
| 13 |
+
"name" : "logits",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"hasShapeFlexibility" : "0",
|
| 18 |
+
"isOptional" : "0",
|
| 19 |
+
"dataType" : "Float16",
|
| 20 |
+
"formattedType" : "MultiArray (Float16 1 × 2560 × 1 × 1)",
|
| 21 |
+
"shortDescription" : "",
|
| 22 |
+
"shape" : "[1, 2560, 1, 1]",
|
| 23 |
+
"name" : "key_cache_updates",
|
| 24 |
+
"type" : "MultiArray"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"hasShapeFlexibility" : "0",
|
| 28 |
+
"isOptional" : "0",
|
| 29 |
+
"dataType" : "Float16",
|
| 30 |
+
"formattedType" : "MultiArray (Float16 1 × 2560 × 1 × 1)",
|
| 31 |
+
"shortDescription" : "",
|
| 32 |
+
"shape" : "[1, 2560, 1, 1]",
|
| 33 |
+
"name" : "value_cache_updates",
|
| 34 |
+
"type" : "MultiArray"
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"hasShapeFlexibility" : "0",
|
| 38 |
+
"isOptional" : "0",
|
| 39 |
+
"dataType" : "Float16",
|
| 40 |
+
"formattedType" : "MultiArray (Float16 1 × 1500)",
|
| 41 |
+
"shortDescription" : "",
|
| 42 |
+
"shape" : "[1, 1500]",
|
| 43 |
+
"name" : "alignment_heads_weights",
|
| 44 |
+
"type" : "MultiArray"
|
| 45 |
+
}
|
| 46 |
+
],
|
| 47 |
+
"modelParameters" : [
|
| 48 |
+
|
| 49 |
+
],
|
| 50 |
+
"specificationVersion" : 7,
|
| 51 |
+
"mlProgramOperationTypeHistogram" : {
|
| 52 |
+
"Split" : 2,
|
| 53 |
+
"Concat" : 3,
|
| 54 |
+
"Ios16.rsqrt" : 7,
|
| 55 |
+
"Ios16.mul" : 26,
|
| 56 |
+
"Squeeze" : 1,
|
| 57 |
+
"SliceByIndex" : 40,
|
| 58 |
+
"Ios16.sub" : 8,
|
| 59 |
+
"Transpose" : 1,
|
| 60 |
+
"Ios16.conv" : 20,
|
| 61 |
+
"Ios16.add" : 20,
|
| 62 |
+
"Ios16.linear" : 1,
|
| 63 |
+
"Ios16.matmul" : 8,
|
| 64 |
+
"Ios16.gelu" : 2,
|
| 65 |
+
"Ios16.reduceMean" : 15,
|
| 66 |
+
"ExpandDims" : 6,
|
| 67 |
+
"Ios16.batchNorm" : 7,
|
| 68 |
+
"Ios16.gather" : 2,
|
| 69 |
+
"Ios16.reshape" : 16,
|
| 70 |
+
"Ios16.softmax" : 4
|
| 71 |
+
},
|
| 72 |
+
"computePrecision" : "Mixed (Float16, Int32)",
|
| 73 |
+
"isUpdatable" : "0",
|
| 74 |
+
"availability" : {
|
| 75 |
+
"macOS" : "13.0",
|
| 76 |
+
"tvOS" : "16.0",
|
| 77 |
+
"visionOS" : "1.0",
|
| 78 |
+
"watchOS" : "9.0",
|
| 79 |
+
"iOS" : "16.0",
|
| 80 |
+
"macCatalyst" : "16.0"
|
| 81 |
+
},
|
| 82 |
+
"modelType" : {
|
| 83 |
+
"name" : "MLModelType_mlProgram"
|
| 84 |
+
},
|
| 85 |
+
"userDefinedMetadata" : {
|
| 86 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
| 87 |
+
"com.github.apple.coremltools.source" : "torch==2.2.1",
|
| 88 |
+
"com.github.apple.coremltools.version" : "7.1"
|
| 89 |
+
},
|
| 90 |
+
"inputSchema" : [
|
| 91 |
+
{
|
| 92 |
+
"hasShapeFlexibility" : "0",
|
| 93 |
+
"isOptional" : "0",
|
| 94 |
+
"dataType" : "Int32",
|
| 95 |
+
"formattedType" : "MultiArray (Int32 1)",
|
| 96 |
+
"shortDescription" : "",
|
| 97 |
+
"shape" : "[1]",
|
| 98 |
+
"name" : "input_ids",
|
| 99 |
+
"type" : "MultiArray"
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"hasShapeFlexibility" : "0",
|
| 103 |
+
"isOptional" : "0",
|
| 104 |
+
"dataType" : "Int32",
|
| 105 |
+
"formattedType" : "MultiArray (Int32 1)",
|
| 106 |
+
"shortDescription" : "",
|
| 107 |
+
"shape" : "[1]",
|
| 108 |
+
"name" : "cache_length",
|
| 109 |
+
"type" : "MultiArray"
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"hasShapeFlexibility" : "0",
|
| 113 |
+
"isOptional" : "0",
|
| 114 |
+
"dataType" : "Float16",
|
| 115 |
+
"formattedType" : "MultiArray (Float16 1 × 2560 × 1 × 448)",
|
| 116 |
+
"shortDescription" : "",
|
| 117 |
+
"shape" : "[1, 2560, 1, 448]",
|
| 118 |
+
"name" : "key_cache",
|
| 119 |
+
"type" : "MultiArray"
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"hasShapeFlexibility" : "0",
|
| 123 |
+
"isOptional" : "0",
|
| 124 |
+
"dataType" : "Float16",
|
| 125 |
+
"formattedType" : "MultiArray (Float16 1 × 2560 × 1 × 448)",
|
| 126 |
+
"shortDescription" : "",
|
| 127 |
+
"shape" : "[1, 2560, 1, 448]",
|
| 128 |
+
"name" : "value_cache",
|
| 129 |
+
"type" : "MultiArray"
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"hasShapeFlexibility" : "0",
|
| 133 |
+
"isOptional" : "0",
|
| 134 |
+
"dataType" : "Float16",
|
| 135 |
+
"formattedType" : "MultiArray (Float16 1 × 448)",
|
| 136 |
+
"shortDescription" : "",
|
| 137 |
+
"shape" : "[1, 448]",
|
| 138 |
+
"name" : "kv_cache_update_mask",
|
| 139 |
+
"type" : "MultiArray"
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"hasShapeFlexibility" : "0",
|
| 143 |
+
"isOptional" : "0",
|
| 144 |
+
"dataType" : "Float16",
|
| 145 |
+
"formattedType" : "MultiArray (Float16 1 × 1280 × 1 × 1500)",
|
| 146 |
+
"shortDescription" : "",
|
| 147 |
+
"shape" : "[1, 1280, 1, 1500]",
|
| 148 |
+
"name" : "encoder_output_embeds",
|
| 149 |
+
"type" : "MultiArray"
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"hasShapeFlexibility" : "0",
|
| 153 |
+
"isOptional" : "0",
|
| 154 |
+
"dataType" : "Float16",
|
| 155 |
+
"formattedType" : "MultiArray (Float16 1 × 448)",
|
| 156 |
+
"shortDescription" : "",
|
| 157 |
+
"shape" : "[1, 448]",
|
| 158 |
+
"name" : "decoder_key_padding_mask",
|
| 159 |
+
"type" : "MultiArray"
|
| 160 |
+
}
|
| 161 |
+
],
|
| 162 |
+
"generatedClassName" : "TextDecoder",
|
| 163 |
+
"method" : "predict"
|
| 164 |
+
}
|
| 165 |
+
]
|
distil-whisper_distil-large-v3_594MB/TextDecoder.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
distil-whisper_distil-large-v3_594MB/TextDecoder.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0a38bc3b78a21d5bd912bd8ce72762456f8cdcfdfec5ce3767d678584e6e8d6c
|
| 3 |
+
size 238986036
|
distil-whisper_distil-large-v3_594MB/config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"_name_or_path": "./distil-large-v3", "activation_dropout": 0.0, "activation_function": "gelu", "apply_spec_augment": false, "architectures": ["WhisperForConditionalGeneration"], "attention_dropout": 0.0, "begin_suppress_tokens": [220, 50257], "bos_token_id": 50257, "classifier_proj_size": 256, "d_model": 1280, "decoder_attention_heads": 20, "decoder_ffn_dim": 5120, "decoder_layerdrop": 0.0, "decoder_layers": 2, "decoder_start_token_id": 50258, "dropout": 0.0, "encoder_attention_heads": 20, "encoder_ffn_dim": 5120, "encoder_layerdrop": 0.0, "encoder_layers": 32, "eos_token_id": 50257, "init_std": 0.02, "is_encoder_decoder": true, "mask_feature_length": 10, "mask_feature_min_masks": 0, "mask_feature_prob": 0.0, "mask_time_length": 10, "mask_time_min_masks": 2, "mask_time_prob": 0.05, "max_length": 448, "max_source_positions": 1500, "max_target_positions": 448, "median_filter_width": 7, "model_type": "whisper", "num_hidden_layers": 32, "num_mel_bins": 128, "pad_token_id": 50256, "scale_embedding": false, "torch_dtype": "float16", "transformers_version": "4.38.0.dev0", "use_cache": true, "use_weighted_layer_sum": false, "vocab_size": 51866}
|
distil-whisper_distil-large-v3_594MB/generation_config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"alignment_heads": [[7, 0], [10, 17], [12, 18], [13, 12], [16, 1], [17, 14], [19, 11], [21, 4], [24, 1], [25, 6]], "begin_suppress_tokens": [220, 50257], "bos_token_id": 50257, "decoder_start_token_id": 50258, "eos_token_id": 50257, "forced_decoder_ids": [[1, null], [2, 50360]], "is_multilingual": true, "lang_to_id": {"<|af|>": 50327, "<|am|>": 50334, "<|ar|>": 50272, "<|as|>": 50350, "<|az|>": 50304, "<|ba|>": 50355, "<|be|>": 50330, "<|bg|>": 50292, "<|bn|>": 50302, "<|bo|>": 50347, "<|br|>": 50309, "<|bs|>": 50315, "<|ca|>": 50270, "<|cs|>": 50283, "<|cy|>": 50297, "<|da|>": 50285, "<|de|>": 50261, "<|el|>": 50281, "<|en|>": 50259, "<|es|>": 50262, "<|et|>": 50307, "<|eu|>": 50310, "<|fa|>": 50300, "<|fi|>": 50277, "<|fo|>": 50338, "<|fr|>": 50265, "<|gl|>": 50319, "<|gu|>": 50333, "<|haw|>": 50352, "<|ha|>": 50354, "<|he|>": 50279, "<|hi|>": 50276, "<|hr|>": 50291, "<|ht|>": 50339, "<|hu|>": 50286, "<|hy|>": 50312, "<|id|>": 50275, "<|is|>": 50311, "<|it|>": 50274, "<|ja|>": 50266, "<|jw|>": 50356, "<|ka|>": 50329, "<|kk|>": 50316, "<|km|>": 50323, "<|kn|>": 50306, "<|ko|>": 50264, "<|la|>": 50294, "<|lb|>": 50345, "<|ln|>": 50353, "<|lo|>": 50336, "<|lt|>": 50293, "<|lv|>": 50301, "<|mg|>": 50349, "<|mi|>": 50295, "<|mk|>": 50308, "<|ml|>": 50296, "<|mn|>": 50314, "<|mr|>": 50320, "<|ms|>": 50282, "<|mt|>": 50343, "<|my|>": 50346, "<|ne|>": 50313, "<|nl|>": 50271, "<|nn|>": 50342, "<|no|>": 50288, "<|oc|>": 50328, "<|pa|>": 50321, "<|pl|>": 50269, "<|ps|>": 50340, "<|pt|>": 50267, "<|ro|>": 50284, "<|ru|>": 50263, "<|sa|>": 50344, "<|sd|>": 50332, "<|si|>": 50322, "<|sk|>": 50298, "<|sl|>": 50305, "<|sn|>": 50324, "<|so|>": 50326, "<|sq|>": 50317, "<|sr|>": 50303, "<|su|>": 50357, "<|sv|>": 50273, "<|sw|>": 50318, "<|ta|>": 50287, "<|te|>": 50299, "<|tg|>": 50331, "<|th|>": 50289, "<|tk|>": 50341, "<|tl|>": 50348, "<|tr|>": 50268, "<|tt|>": 50351, "<|uk|>": 50280, "<|ur|>": 50290, "<|uz|>": 50337, "<|vi|>": 50278, "<|yi|>": 50335, "<|yo|>": 50325, "<|yue|>": 50358, "<|zh|>": 50260}, "language": "<|en|>", "max_initial_timestamp_index": 50, "max_length": 448, "no_timestamps_token_id": 50364, "pad_token_id": 50257, "prev_sot_token_id": 50362, "return_timestamps": false, "suppress_tokens": [1, 2, 7, 8, 9, 10, 14, 25, 26, 27, 28, 29, 31, 58, 59, 60, 61, 62, 63, 90, 91, 92, 93, 359, 503, 522, 542, 873, 893, 902, 918, 922, 931, 1350, 1853, 1982, 2460, 2627, 3246, 3253, 3268, 3536, 3846, 3961, 4183, 4667, 6585, 6647, 7273, 9061, 9383, 10428, 10929, 11938, 12033, 12331, 12562, 13793, 14157, 14635, 15265, 15618, 16553, 16604, 18362, 18956, 20075, 21675, 22520, 26130, 26161, 26435, 28279, 29464, 31650, 32302, 32470, 36865, 42863, 47425, 49870, 50254, 50258, 50359, 50360, 50361, 50362, 50363], "task": "transcribe", "task_to_id": {"transcribe": 50360, "translate": 50359}, "transformers_version": "4.38.0.dev0"}
|
distil-whisper_distil-large-v3_turbo/AudioEncoder.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b68eb75cef8a4b3585423dca03d42d2f6ff34029421ad11752ea5be85c9bbf4c
|
| 3 |
+
size 243
|
distil-whisper_distil-large-v3_turbo/AudioEncoder.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:273d6cd004f95763e9d03e5d36622f11038819a81b9eafed64b1d95444e04f62
|
| 3 |
+
size 348
|
distil-whisper_distil-large-v3_turbo/AudioEncoder.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"metadataOutputVersion" : "3.0",
|
| 4 |
+
"storagePrecision" : "Float16",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float16",
|
| 10 |
+
"formattedType" : "MultiArray (Float16 1 × 1280 × 1 × 1500)",
|
| 11 |
+
"shortDescription" : "",
|
| 12 |
+
"shape" : "[1, 1280, 1, 1500]",
|
| 13 |
+
"name" : "encoder_output_embeds",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"modelParameters" : [
|
| 18 |
+
|
| 19 |
+
],
|
| 20 |
+
"specificationVersion" : 7,
|
| 21 |
+
"mlProgramOperationTypeHistogram" : {
|
| 22 |
+
"Concat" : 672,
|
| 23 |
+
"Ios16.rsqrt" : 65,
|
| 24 |
+
"Ios16.mul" : 2690,
|
| 25 |
+
"SliceByIndex" : 4480,
|
| 26 |
+
"Ios16.sub" : 65,
|
| 27 |
+
"Transpose" : 32,
|
| 28 |
+
"Ios16.einsum" : 5120,
|
| 29 |
+
"Ios16.conv" : 194,
|
| 30 |
+
"Ios16.add" : 130,
|
| 31 |
+
"Ios16.reduceMean" : 130,
|
| 32 |
+
"Ios16.softmax" : 2560,
|
| 33 |
+
"Ios16.gelu" : 34,
|
| 34 |
+
"Ios16.batchNorm" : 65
|
| 35 |
+
},
|
| 36 |
+
"computePrecision" : "Mixed (Float16, Int32)",
|
| 37 |
+
"isUpdatable" : "0",
|
| 38 |
+
"availability" : {
|
| 39 |
+
"macOS" : "13.0",
|
| 40 |
+
"tvOS" : "16.0",
|
| 41 |
+
"visionOS" : "1.0",
|
| 42 |
+
"watchOS" : "9.0",
|
| 43 |
+
"iOS" : "16.0",
|
| 44 |
+
"macCatalyst" : "16.0"
|
| 45 |
+
},
|
| 46 |
+
"modelType" : {
|
| 47 |
+
"name" : "MLModelType_mlProgram"
|
| 48 |
+
},
|
| 49 |
+
"userDefinedMetadata" : {
|
| 50 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
| 51 |
+
"com.github.apple.coremltools.source" : "torch==2.2.1",
|
| 52 |
+
"com.github.apple.coremltools.version" : "7.1"
|
| 53 |
+
},
|
| 54 |
+
"inputSchema" : [
|
| 55 |
+
{
|
| 56 |
+
"hasShapeFlexibility" : "0",
|
| 57 |
+
"isOptional" : "0",
|
| 58 |
+
"dataType" : "Float16",
|
| 59 |
+
"formattedType" : "MultiArray (Float16 1 × 128 × 1 × 3000)",
|
| 60 |
+
"shortDescription" : "",
|
| 61 |
+
"shape" : "[1, 128, 1, 3000]",
|
| 62 |
+
"name" : "melspectrogram_features",
|
| 63 |
+
"type" : "MultiArray"
|
| 64 |
+
}
|
| 65 |
+
],
|
| 66 |
+
"generatedClassName" : "AudioEncoder",
|
| 67 |
+
"method" : "predict"
|
| 68 |
+
}
|
| 69 |
+
]
|
distil-whisper_distil-large-v3_turbo/AudioEncoder.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
distil-whisper_distil-large-v3_turbo/AudioEncoder.mlmodelc/model.mlmodel
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf0987c0d8c3fe180877b12ba5b4ac1d890e011f2103926e53186089feced575
|
| 3 |
+
size 408667
|
distil-whisper_distil-large-v3_turbo/AudioEncoder.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a99a8d81ecb0ffa65d9e66dfc12da26a91c86cdd369db3d98aed777e8e15b68
|
| 3 |
+
size 1273974400
|
distil-whisper_distil-large-v3_turbo/MelSpectrogram.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:091a361134891f94e613562771beea0d93a9aefbc6984ba86c60f856e07a508f
|
| 3 |
+
size 243
|
distil-whisper_distil-large-v3_turbo/MelSpectrogram.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f3c5778c86d6fbc6a9817a56dbcac05a946a4d95c77f6db8355572f3be9e9a68
|
| 3 |
+
size 329
|
distil-whisper_distil-large-v3_turbo/MelSpectrogram.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"metadataOutputVersion" : "3.0",
|
| 4 |
+
"storagePrecision" : "Float16",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float16",
|
| 10 |
+
"formattedType" : "MultiArray (Float16 1 × 128 × 1 × 3000)",
|
| 11 |
+
"shortDescription" : "",
|
| 12 |
+
"shape" : "[1, 128, 1, 3000]",
|
| 13 |
+
"name" : "melspectrogram_features",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"modelParameters" : [
|
| 18 |
+
|
| 19 |
+
],
|
| 20 |
+
"specificationVersion" : 7,
|
| 21 |
+
"mlProgramOperationTypeHistogram" : {
|
| 22 |
+
"Pad" : 1,
|
| 23 |
+
"Ios16.mul" : 2,
|
| 24 |
+
"SliceByIndex" : 1,
|
| 25 |
+
"Ios16.sub" : 1,
|
| 26 |
+
"Ios16.log" : 1,
|
| 27 |
+
"Ios16.conv" : 2,
|
| 28 |
+
"Ios16.add" : 3,
|
| 29 |
+
"Ios16.square" : 2,
|
| 30 |
+
"Ios16.matmul" : 1,
|
| 31 |
+
"Squeeze" : 2,
|
| 32 |
+
"Ios16.maximum" : 1,
|
| 33 |
+
"ExpandDims" : 4,
|
| 34 |
+
"Ios16.reduceMax" : 1,
|
| 35 |
+
"Identity" : 1,
|
| 36 |
+
"Ios16.reshape" : 2
|
| 37 |
+
},
|
| 38 |
+
"computePrecision" : "Mixed (Float16, Int32)",
|
| 39 |
+
"isUpdatable" : "0",
|
| 40 |
+
"availability" : {
|
| 41 |
+
"macOS" : "13.0",
|
| 42 |
+
"tvOS" : "16.0",
|
| 43 |
+
"visionOS" : "1.0",
|
| 44 |
+
"watchOS" : "9.0",
|
| 45 |
+
"iOS" : "16.0",
|
| 46 |
+
"macCatalyst" : "16.0"
|
| 47 |
+
},
|
| 48 |
+
"modelType" : {
|
| 49 |
+
"name" : "MLModelType_mlProgram"
|
| 50 |
+
},
|
| 51 |
+
"userDefinedMetadata" : {
|
| 52 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript",
|
| 53 |
+
"com.github.apple.coremltools.source" : "torch==2.2.1",
|
| 54 |
+
"com.github.apple.coremltools.version" : "7.1"
|
| 55 |
+
},
|
| 56 |
+
"inputSchema" : [
|
| 57 |
+
{
|
| 58 |
+
"hasShapeFlexibility" : "0",
|
| 59 |
+
"isOptional" : "0",
|
| 60 |
+
"dataType" : "Float16",
|
| 61 |
+
"formattedType" : "MultiArray (Float16 480000)",
|
| 62 |
+
"shortDescription" : "",
|
| 63 |
+
"shape" : "[480000]",
|
| 64 |
+
"name" : "audio",
|
| 65 |
+
"type" : "MultiArray"
|
| 66 |
+
}
|
| 67 |
+
],
|
| 68 |
+
"generatedClassName" : "MelSpectrogram",
|
| 69 |
+
"method" : "predict"
|
| 70 |
+
}
|
| 71 |
+
]
|
distil-whisper_distil-large-v3_turbo/MelSpectrogram.mlmodelc/model.mil
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
program(1.0)
|
| 2 |
+
[buildInfo = dict<tensor<string, []>, tensor<string, []>>({{"coremlc-component-MIL", "5.33.5"}, {"coremlc-version", "1877.40.3"}, {"coremltools-component-torch", "2.2.1"}, {"coremltools-source-dialect", "TorchScript"}, {"coremltools-version", "7.1"}})]
|
| 3 |
+
{
|
| 4 |
+
func main<ios16>(tensor<fp16, [480000]> audio) {
|
| 5 |
+
tensor<int32, [3]> var_10 = const()[name = tensor<string, []>("op_10"), val = tensor<int32, [3]>([1, 1, 480000])];
|
| 6 |
+
tensor<fp16, [1, 1, 480000]> input_1_cast_fp16 = reshape(shape = var_10, x = audio)[name = tensor<string, []>("input_1_cast_fp16")];
|
| 7 |
+
tensor<int32, [6]> input_3_pad_0 = const()[name = tensor<string, []>("input_3_pad_0"), val = tensor<int32, [6]>([0, 0, 0, 0, 200, 200])];
|
| 8 |
+
tensor<string, []> input_3_mode_0 = const()[name = tensor<string, []>("input_3_mode_0"), val = tensor<string, []>("reflect")];
|
| 9 |
+
tensor<fp16, []> input_3_constant_val_0_to_fp16 = const()[name = tensor<string, []>("input_3_constant_val_0_to_fp16"), val = tensor<fp16, []>(0x0p+0)];
|
| 10 |
+
tensor<fp16, [1, 1, 480400]> input_3_cast_fp16 = pad(constant_val = input_3_constant_val_0_to_fp16, mode = input_3_mode_0, pad = input_3_pad_0, x = input_1_cast_fp16)[name = tensor<string, []>("input_3_cast_fp16")];
|
| 11 |
+
tensor<int32, [1]> var_22 = const()[name = tensor<string, []>("op_22"), val = tensor<int32, [1]>([480400])];
|
| 12 |
+
tensor<fp16, [480400]> input_cast_fp16 = reshape(shape = var_22, x = input_3_cast_fp16)[name = tensor<string, []>("input_cast_fp16")];
|
| 13 |
+
tensor<int32, [1]> expand_dims_0_axes_0 = const()[name = tensor<string, []>("expand_dims_0_axes_0"), val = tensor<int32, [1]>([0])];
|
| 14 |
+
tensor<fp16, [1, 480400]> expand_dims_0_cast_fp16 = expand_dims(axes = expand_dims_0_axes_0, x = input_cast_fp16)[name = tensor<string, []>("expand_dims_0_cast_fp16")];
|
| 15 |
+
tensor<int32, [1]> expand_dims_3 = const()[name = tensor<string, []>("expand_dims_3"), val = tensor<int32, [1]>([160])];
|
| 16 |
+
tensor<int32, [1]> expand_dims_4_axes_0 = const()[name = tensor<string, []>("expand_dims_4_axes_0"), val = tensor<int32, [1]>([1])];
|
| 17 |
+
tensor<fp16, [1, 1, 480400]> expand_dims_4_cast_fp16 = expand_dims(axes = expand_dims_4_axes_0, x = expand_dims_0_cast_fp16)[name = tensor<string, []>("expand_dims_4_cast_fp16")];
|
| 18 |
+
tensor<string, []> conv_0_pad_type_0 = const()[name = tensor<string, []>("conv_0_pad_type_0"), val = tensor<string, []>("valid")];
|
| 19 |
+
tensor<int32, [2]> conv_0_pad_0 = const()[name = tensor<string, []>("conv_0_pad_0"), val = tensor<int32, [2]>([0, 0])];
|
| 20 |
+
tensor<int32, [1]> conv_0_dilations_0 = const()[name = tensor<string, []>("conv_0_dilations_0"), val = tensor<int32, [1]>([1])];
|
| 21 |
+
tensor<int32, []> conv_0_groups_0 = const()[name = tensor<string, []>("conv_0_groups_0"), val = tensor<int32, []>(1)];
|
| 22 |
+
tensor<fp16, [201, 1, 400]> expand_dims_1_to_fp16 = const()[name = tensor<string, []>("expand_dims_1_to_fp16"), val = tensor<fp16, [201, 1, 400]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(64)))];
|
| 23 |
+
tensor<fp16, [1, 201, 3001]> conv_0_cast_fp16 = conv(dilations = conv_0_dilations_0, groups = conv_0_groups_0, pad = conv_0_pad_0, pad_type = conv_0_pad_type_0, strides = expand_dims_3, weight = expand_dims_1_to_fp16, x = expand_dims_4_cast_fp16)[name = tensor<string, []>("conv_0_cast_fp16")];
|
| 24 |
+
tensor<string, []> conv_1_pad_type_0 = const()[name = tensor<string, []>("conv_1_pad_type_0"), val = tensor<string, []>("valid")];
|
| 25 |
+
tensor<int32, [2]> conv_1_pad_0 = const()[name = tensor<string, []>("conv_1_pad_0"), val = tensor<int32, [2]>([0, 0])];
|
| 26 |
+
tensor<int32, [1]> conv_1_dilations_0 = const()[name = tensor<string, []>("conv_1_dilations_0"), val = tensor<int32, [1]>([1])];
|
| 27 |
+
tensor<int32, []> conv_1_groups_0 = const()[name = tensor<string, []>("conv_1_groups_0"), val = tensor<int32, []>(1)];
|
| 28 |
+
tensor<fp16, [201, 1, 400]> expand_dims_2_to_fp16 = const()[name = tensor<string, []>("expand_dims_2_to_fp16"), val = tensor<fp16, [201, 1, 400]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(160960)))];
|
| 29 |
+
tensor<fp16, [1, 201, 3001]> conv_1_cast_fp16 = conv(dilations = conv_1_dilations_0, groups = conv_1_groups_0, pad = conv_1_pad_0, pad_type = conv_1_pad_type_0, strides = expand_dims_3, weight = expand_dims_2_to_fp16, x = expand_dims_4_cast_fp16)[name = tensor<string, []>("conv_1_cast_fp16")];
|
| 30 |
+
tensor<int32, [1]> squeeze_0_axes_0 = const()[name = tensor<string, []>("squeeze_0_axes_0"), val = tensor<int32, [1]>([0])];
|
| 31 |
+
tensor<fp16, [201, 3001]> squeeze_0_cast_fp16 = squeeze(axes = squeeze_0_axes_0, x = conv_0_cast_fp16)[name = tensor<string, []>("squeeze_0_cast_fp16")];
|
| 32 |
+
tensor<int32, [1]> squeeze_1_axes_0 = const()[name = tensor<string, []>("squeeze_1_axes_0"), val = tensor<int32, [1]>([0])];
|
| 33 |
+
tensor<fp16, [201, 3001]> squeeze_1_cast_fp16 = squeeze(axes = squeeze_1_axes_0, x = conv_1_cast_fp16)[name = tensor<string, []>("squeeze_1_cast_fp16")];
|
| 34 |
+
tensor<fp16, [201, 3001]> square_0_cast_fp16 = square(x = squeeze_0_cast_fp16)[name = tensor<string, []>("square_0_cast_fp16")];
|
| 35 |
+
tensor<fp16, [201, 3001]> square_1_cast_fp16 = square(x = squeeze_1_cast_fp16)[name = tensor<string, []>("square_1_cast_fp16")];
|
| 36 |
+
tensor<fp16, [201, 3001]> add_1_cast_fp16 = add(x = square_0_cast_fp16, y = square_1_cast_fp16)[name = tensor<string, []>("add_1_cast_fp16")];
|
| 37 |
+
tensor<fp16, [201, 3001]> magnitudes_1_cast_fp16 = identity(x = add_1_cast_fp16)[name = tensor<string, []>("magnitudes_1_cast_fp16")];
|
| 38 |
+
tensor<int32, [2]> magnitudes_begin_0 = const()[name = tensor<string, []>("magnitudes_begin_0"), val = tensor<int32, [2]>([0, 0])];
|
| 39 |
+
tensor<int32, [2]> magnitudes_end_0 = const()[name = tensor<string, []>("magnitudes_end_0"), val = tensor<int32, [2]>([201, 3000])];
|
| 40 |
+
tensor<bool, [2]> magnitudes_end_mask_0 = const()[name = tensor<string, []>("magnitudes_end_mask_0"), val = tensor<bool, [2]>([true, false])];
|
| 41 |
+
tensor<fp16, [201, 3000]> magnitudes_cast_fp16 = slice_by_index(begin = magnitudes_begin_0, end = magnitudes_end_0, end_mask = magnitudes_end_mask_0, x = magnitudes_1_cast_fp16)[name = tensor<string, []>("magnitudes_cast_fp16")];
|
| 42 |
+
tensor<bool, []> mel_spec_1_transpose_x_0 = const()[name = tensor<string, []>("mel_spec_1_transpose_x_0"), val = tensor<bool, []>(false)];
|
| 43 |
+
tensor<bool, []> mel_spec_1_transpose_y_0 = const()[name = tensor<string, []>("mel_spec_1_transpose_y_0"), val = tensor<bool, []>(false)];
|
| 44 |
+
tensor<fp16, [128, 201]> mel_filters_to_fp16 = const()[name = tensor<string, []>("mel_filters_to_fp16"), val = tensor<fp16, [128, 201]>(BLOBFILE(path = tensor<string, []>("@model_path/weights/weight.bin"), offset = tensor<uint64, []>(321856)))];
|
| 45 |
+
tensor<fp16, [128, 3000]> mel_spec_1_cast_fp16 = matmul(transpose_x = mel_spec_1_transpose_x_0, transpose_y = mel_spec_1_transpose_y_0, x = mel_filters_to_fp16, y = magnitudes_cast_fp16)[name = tensor<string, []>("mel_spec_1_cast_fp16")];
|
| 46 |
+
tensor<fp16, []> var_41_to_fp16 = const()[name = tensor<string, []>("op_41_to_fp16"), val = tensor<fp16, []>(0x1p-24)];
|
| 47 |
+
tensor<fp16, [128, 3000]> mel_spec_cast_fp16 = add(x = mel_spec_1_cast_fp16, y = var_41_to_fp16)[name = tensor<string, []>("mel_spec_cast_fp16")];
|
| 48 |
+
tensor<fp16, []> log_0_epsilon_0_to_fp16 = const()[name = tensor<string, []>("log_0_epsilon_0_to_fp16"), val = tensor<fp16, []>(0x0p+0)];
|
| 49 |
+
tensor<fp16, [128, 3000]> log_0_cast_fp16 = log(epsilon = log_0_epsilon_0_to_fp16, x = mel_spec_cast_fp16)[name = tensor<string, []>("log_0_cast_fp16")];
|
| 50 |
+
tensor<fp16, []> mul_0_y_0_to_fp16 = const()[name = tensor<string, []>("mul_0_y_0_to_fp16"), val = tensor<fp16, []>(0x1.bccp-2)];
|
| 51 |
+
tensor<fp16, [128, 3000]> mul_0_cast_fp16 = mul(x = log_0_cast_fp16, y = mul_0_y_0_to_fp16)[name = tensor<string, []>("mul_0_cast_fp16")];
|
| 52 |
+
tensor<bool, []> var_44_keep_dims_0 = const()[name = tensor<string, []>("op_44_keep_dims_0"), val = tensor<bool, []>(false)];
|
| 53 |
+
tensor<fp16, []> var_44_cast_fp16 = reduce_max(keep_dims = var_44_keep_dims_0, x = mul_0_cast_fp16)[name = tensor<string, []>("op_44_cast_fp16")];
|
| 54 |
+
tensor<fp16, []> var_46_to_fp16 = const()[name = tensor<string, []>("op_46_to_fp16"), val = tensor<fp16, []>(0x1p+3)];
|
| 55 |
+
tensor<fp16, []> var_47_cast_fp16 = sub(x = var_44_cast_fp16, y = var_46_to_fp16)[name = tensor<string, []>("op_47_cast_fp16")];
|
| 56 |
+
tensor<fp16, [128, 3000]> log_spec_3_cast_fp16 = maximum(x = mul_0_cast_fp16, y = var_47_cast_fp16)[name = tensor<string, []>("log_spec_3_cast_fp16")];
|
| 57 |
+
tensor<fp16, []> var_50_to_fp16 = const()[name = tensor<string, []>("op_50_to_fp16"), val = tensor<fp16, []>(0x1p+2)];
|
| 58 |
+
tensor<fp16, [128, 3000]> var_51_cast_fp16 = add(x = log_spec_3_cast_fp16, y = var_50_to_fp16)[name = tensor<string, []>("op_51_cast_fp16")];
|
| 59 |
+
tensor<fp16, []> _inversed_log_spec_y_0_to_fp16 = const()[name = tensor<string, []>("_inversed_log_spec_y_0_to_fp16"), val = tensor<fp16, []>(0x1p-2)];
|
| 60 |
+
tensor<fp16, [128, 3000]> _inversed_log_spec_cast_fp16 = mul(x = var_51_cast_fp16, y = _inversed_log_spec_y_0_to_fp16)[name = tensor<string, []>("_inversed_log_spec_cast_fp16")];
|
| 61 |
+
tensor<int32, [1]> var_55_axes_0 = const()[name = tensor<string, []>("op_55_axes_0"), val = tensor<int32, [1]>([0])];
|
| 62 |
+
tensor<fp16, [1, 128, 3000]> var_55_cast_fp16 = expand_dims(axes = var_55_axes_0, x = _inversed_log_spec_cast_fp16)[name = tensor<string, []>("op_55_cast_fp16")];
|
| 63 |
+
tensor<int32, [1]> var_62_axes_0 = const()[name = tensor<string, []>("op_62_axes_0"), val = tensor<int32, [1]>([2])];
|
| 64 |
+
tensor<fp16, [1, 128, 1, 3000]> melspectrogram_features = expand_dims(axes = var_62_axes_0, x = var_55_cast_fp16)[name = tensor<string, []>("op_62_cast_fp16")];
|
| 65 |
+
} -> (melspectrogram_features);
|
| 66 |
+
}
|
distil-whisper_distil-large-v3_turbo/MelSpectrogram.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7a80bf139bea628069316903af7fb674a8d319233ab98f9d74b1c840915a4ef0
|
| 3 |
+
size 373376
|