Upload folder using huggingface_hub
Browse files- chunk1.mlmodelc/analytics/coremldata.bin +3 -0
- chunk1.mlmodelc/coremldata.bin +3 -0
- chunk1.mlmodelc/metadata.json +136 -0
- chunk1.mlmodelc/model.mil +0 -0
- chunk1.mlmodelc/weights/weight.bin +3 -0
- chunk2.mlmodelc/analytics/coremldata.bin +3 -0
- chunk2.mlmodelc/coremldata.bin +3 -0
- chunk2.mlmodelc/metadata.json +136 -0
- chunk2.mlmodelc/model.mil +0 -0
- chunk2.mlmodelc/weights/weight.bin +3 -0
- chunk3.mlmodelc/analytics/coremldata.bin +3 -0
- chunk3.mlmodelc/coremldata.bin +3 -0
- chunk3.mlmodelc/metadata.json +164 -0
- chunk3.mlmodelc/model.mil +0 -0
- chunk3.mlmodelc/weights/weight.bin +3 -0
- embed_tokens_per_layer_q8.bin +3 -0
- embed_tokens_per_layer_scales.bin +3 -0
- embed_tokens_q8.bin +3 -0
- embed_tokens_scales.bin +3 -0
- model_config.json +6 -11
- per_layer_norm_weight.bin +3 -0
- per_layer_projection.bin +3 -0
- vision.mlmodelc/coremldata.bin +1 -1
chunk1.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a6a9615d5dabb4235b26ee1762c52cc1dbb4a3764fcb046fa6a2319f2728ca5a
|
| 3 |
+
size 243
|
chunk1.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:65508fc51383d864ae0c12579128e024ee59203136a8fe2e970fcce0be747921
|
| 3 |
+
size 547
|
chunk1.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"metadataOutputVersion" : "3.0",
|
| 4 |
+
"storagePrecision" : "Mixed (Float16, Palettized (10 bits), Palettized (11 bits), Palettized (12 bits), Palettized (7 bits), Palettized (8 bits), Palettized (9 bits), UInt4)",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float16",
|
| 10 |
+
"formattedType" : "MultiArray (Float16 1 × 1 × 1536)",
|
| 11 |
+
"shortDescription" : "",
|
| 12 |
+
"shape" : "[1, 1, 1536]",
|
| 13 |
+
"name" : "hidden_states_out",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"modelParameters" : [
|
| 18 |
+
|
| 19 |
+
],
|
| 20 |
+
"specificationVersion" : 9,
|
| 21 |
+
"mlProgramOperationTypeHistogram" : {
|
| 22 |
+
"Ios18.expandDims" : 56,
|
| 23 |
+
"Ios18.mul" : 335,
|
| 24 |
+
"Ios18.softmax" : 12,
|
| 25 |
+
"Ios18.matmul" : 24,
|
| 26 |
+
"Ios16.reduceMean" : 12,
|
| 27 |
+
"Split" : 108,
|
| 28 |
+
"Ios18.greaterEqual" : 2,
|
| 29 |
+
"Select" : 2,
|
| 30 |
+
"Ios18.readState" : 24,
|
| 31 |
+
"Tile" : 48,
|
| 32 |
+
"Ios18.gather" : 4,
|
| 33 |
+
"Ios18.add" : 110,
|
| 34 |
+
"Ios18.layerNorm" : 84,
|
| 35 |
+
"Ios18.sliceUpdate" : 24,
|
| 36 |
+
"Ios18.reshape" : 144,
|
| 37 |
+
"Pad" : 20,
|
| 38 |
+
"Ios18.writeState" : 24,
|
| 39 |
+
"Ios18.constexprLutToDense" : 112,
|
| 40 |
+
"Ios18.conv" : 84,
|
| 41 |
+
"Ios18.concat" : 108,
|
| 42 |
+
"Ios18.transpose" : 180,
|
| 43 |
+
"Ios18.sub" : 1,
|
| 44 |
+
"Ios18.pow" : 24,
|
| 45 |
+
"Ios18.cast" : 5,
|
| 46 |
+
"Ios18.gelu" : 24,
|
| 47 |
+
"Ios18.linear" : 24,
|
| 48 |
+
"Ios18.sliceByIndex" : 56,
|
| 49 |
+
"Ios18.squeeze" : 36
|
| 50 |
+
},
|
| 51 |
+
"computePrecision" : "Mixed (Float16, Int16, Int32, UInt16)",
|
| 52 |
+
"isUpdatable" : "0",
|
| 53 |
+
"stateSchema" : [
|
| 54 |
+
{
|
| 55 |
+
"dataType" : "Float16",
|
| 56 |
+
"isOptional" : "0",
|
| 57 |
+
"formattedType" : "State (Float16 24 × 1 × 512 × 512)",
|
| 58 |
+
"shortDescription" : "",
|
| 59 |
+
"shape" : "[24, 1, 512, 512]",
|
| 60 |
+
"name" : "kv_cache_0",
|
| 61 |
+
"type" : "State"
|
| 62 |
+
}
|
| 63 |
+
],
|
| 64 |
+
"availability" : {
|
| 65 |
+
"macOS" : "15.0",
|
| 66 |
+
"tvOS" : "18.0",
|
| 67 |
+
"visionOS" : "2.0",
|
| 68 |
+
"watchOS" : "11.0",
|
| 69 |
+
"iOS" : "18.0",
|
| 70 |
+
"macCatalyst" : "18.0"
|
| 71 |
+
},
|
| 72 |
+
"modelType" : {
|
| 73 |
+
"name" : "MLModelType_mlProgram"
|
| 74 |
+
},
|
| 75 |
+
"userDefinedMetadata" : {
|
| 76 |
+
"com.github.apple.coremltools.conversion_date" : "2026-04-09",
|
| 77 |
+
"com.github.apple.coremltools.source" : "torch==2.11.0",
|
| 78 |
+
"com.github.apple.coremltools.version" : "9.0",
|
| 79 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript"
|
| 80 |
+
},
|
| 81 |
+
"inputSchema" : [
|
| 82 |
+
{
|
| 83 |
+
"hasShapeFlexibility" : "0",
|
| 84 |
+
"isOptional" : "0",
|
| 85 |
+
"dataType" : "Float16",
|
| 86 |
+
"formattedType" : "MultiArray (Float16 1 × 1 × 1536)",
|
| 87 |
+
"shortDescription" : "",
|
| 88 |
+
"shape" : "[1, 1, 1536]",
|
| 89 |
+
"name" : "hidden_states",
|
| 90 |
+
"type" : "MultiArray"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"hasShapeFlexibility" : "0",
|
| 94 |
+
"isOptional" : "0",
|
| 95 |
+
"dataType" : "Float16",
|
| 96 |
+
"formattedType" : "MultiArray (Float16 1 × 1 × 8960)",
|
| 97 |
+
"shortDescription" : "",
|
| 98 |
+
"shape" : "[1, 1, 8960]",
|
| 99 |
+
"name" : "per_layer_combined",
|
| 100 |
+
"type" : "MultiArray"
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"hasShapeFlexibility" : "0",
|
| 104 |
+
"isOptional" : "0",
|
| 105 |
+
"dataType" : "Int32",
|
| 106 |
+
"formattedType" : "MultiArray (Int32 1)",
|
| 107 |
+
"shortDescription" : "",
|
| 108 |
+
"shape" : "[1]",
|
| 109 |
+
"name" : "position_ids",
|
| 110 |
+
"type" : "MultiArray"
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"hasShapeFlexibility" : "0",
|
| 114 |
+
"isOptional" : "0",
|
| 115 |
+
"dataType" : "Float16",
|
| 116 |
+
"formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
|
| 117 |
+
"shortDescription" : "",
|
| 118 |
+
"shape" : "[1, 1, 1, 512]",
|
| 119 |
+
"name" : "causal_mask",
|
| 120 |
+
"type" : "MultiArray"
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"hasShapeFlexibility" : "0",
|
| 124 |
+
"isOptional" : "0",
|
| 125 |
+
"dataType" : "Float16",
|
| 126 |
+
"formattedType" : "MultiArray (Float16 1 × 1 × 512 × 1)",
|
| 127 |
+
"shortDescription" : "",
|
| 128 |
+
"shape" : "[1, 1, 512, 1]",
|
| 129 |
+
"name" : "update_mask",
|
| 130 |
+
"type" : "MultiArray"
|
| 131 |
+
}
|
| 132 |
+
],
|
| 133 |
+
"generatedClassName" : "chunk1",
|
| 134 |
+
"method" : "predict"
|
| 135 |
+
}
|
| 136 |
+
]
|
chunk1.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
chunk1.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d833878f5e2df699868f84d307ebaff026c87d0842990cb36f27045320b506ac
|
| 3 |
+
size 225384576
|
chunk2.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0b64c2ae1eb9a3fec0ca8036a1d52330653ca3ae09deb32d03f04eabc1808dbd
|
| 3 |
+
size 243
|
chunk2.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:900d06fef9986ad3178593ec86b0c98dc5fe3d7ba392d2d1b668228976913d8c
|
| 3 |
+
size 547
|
chunk2.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"metadataOutputVersion" : "3.0",
|
| 4 |
+
"storagePrecision" : "Mixed (Float16, Palettized (10 bits), Palettized (11 bits), Palettized (12 bits), Palettized (13 bits), Palettized (7 bits), Palettized (8 bits), Palettized (9 bits), UInt4)",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Float16",
|
| 10 |
+
"formattedType" : "MultiArray (Float16 1 × 1 × 1536)",
|
| 11 |
+
"shortDescription" : "",
|
| 12 |
+
"shape" : "[1, 1, 1536]",
|
| 13 |
+
"name" : "hidden_states_out",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
}
|
| 16 |
+
],
|
| 17 |
+
"modelParameters" : [
|
| 18 |
+
|
| 19 |
+
],
|
| 20 |
+
"specificationVersion" : 9,
|
| 21 |
+
"mlProgramOperationTypeHistogram" : {
|
| 22 |
+
"Ios18.expandDims" : 38,
|
| 23 |
+
"Ios18.mul" : 246,
|
| 24 |
+
"Ios18.softmax" : 12,
|
| 25 |
+
"Ios18.matmul" : 24,
|
| 26 |
+
"Ios16.reduceMean" : 3,
|
| 27 |
+
"Split" : 90,
|
| 28 |
+
"Ios18.greaterEqual" : 2,
|
| 29 |
+
"Select" : 2,
|
| 30 |
+
"Ios18.readState" : 6,
|
| 31 |
+
"Tile" : 12,
|
| 32 |
+
"Ios18.gather" : 4,
|
| 33 |
+
"Ios18.add" : 74,
|
| 34 |
+
"Ios18.layerNorm" : 75,
|
| 35 |
+
"Ios18.sliceUpdate" : 6,
|
| 36 |
+
"Ios18.reshape" : 72,
|
| 37 |
+
"Pad" : 4,
|
| 38 |
+
"Ios18.writeState" : 6,
|
| 39 |
+
"Ios18.constexprLutToDense" : 94,
|
| 40 |
+
"Ios18.conv" : 66,
|
| 41 |
+
"Ios18.concat" : 90,
|
| 42 |
+
"Ios18.transpose" : 108,
|
| 43 |
+
"Ios18.sub" : 1,
|
| 44 |
+
"Ios18.pow" : 6,
|
| 45 |
+
"Ios18.cast" : 5,
|
| 46 |
+
"Ios18.gelu" : 24,
|
| 47 |
+
"Ios18.linear" : 24,
|
| 48 |
+
"Ios18.sliceByIndex" : 22,
|
| 49 |
+
"Ios18.squeeze" : 18
|
| 50 |
+
},
|
| 51 |
+
"computePrecision" : "Mixed (Float16, Int16, Int32, UInt16)",
|
| 52 |
+
"isUpdatable" : "0",
|
| 53 |
+
"stateSchema" : [
|
| 54 |
+
{
|
| 55 |
+
"dataType" : "Float16",
|
| 56 |
+
"isOptional" : "0",
|
| 57 |
+
"formattedType" : "State (Float16 24 × 1 × 512 × 512)",
|
| 58 |
+
"shortDescription" : "",
|
| 59 |
+
"shape" : "[24, 1, 512, 512]",
|
| 60 |
+
"name" : "kv_cache_0",
|
| 61 |
+
"type" : "State"
|
| 62 |
+
}
|
| 63 |
+
],
|
| 64 |
+
"availability" : {
|
| 65 |
+
"macOS" : "15.0",
|
| 66 |
+
"tvOS" : "18.0",
|
| 67 |
+
"visionOS" : "2.0",
|
| 68 |
+
"watchOS" : "11.0",
|
| 69 |
+
"iOS" : "18.0",
|
| 70 |
+
"macCatalyst" : "18.0"
|
| 71 |
+
},
|
| 72 |
+
"modelType" : {
|
| 73 |
+
"name" : "MLModelType_mlProgram"
|
| 74 |
+
},
|
| 75 |
+
"userDefinedMetadata" : {
|
| 76 |
+
"com.github.apple.coremltools.conversion_date" : "2026-04-09",
|
| 77 |
+
"com.github.apple.coremltools.source" : "torch==2.11.0",
|
| 78 |
+
"com.github.apple.coremltools.version" : "9.0",
|
| 79 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript"
|
| 80 |
+
},
|
| 81 |
+
"inputSchema" : [
|
| 82 |
+
{
|
| 83 |
+
"hasShapeFlexibility" : "0",
|
| 84 |
+
"isOptional" : "0",
|
| 85 |
+
"dataType" : "Float16",
|
| 86 |
+
"formattedType" : "MultiArray (Float16 1 × 1 × 1536)",
|
| 87 |
+
"shortDescription" : "",
|
| 88 |
+
"shape" : "[1, 1, 1536]",
|
| 89 |
+
"name" : "hidden_states",
|
| 90 |
+
"type" : "MultiArray"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"hasShapeFlexibility" : "0",
|
| 94 |
+
"isOptional" : "0",
|
| 95 |
+
"dataType" : "Float16",
|
| 96 |
+
"formattedType" : "MultiArray (Float16 1 × 1 × 8960)",
|
| 97 |
+
"shortDescription" : "",
|
| 98 |
+
"shape" : "[1, 1, 8960]",
|
| 99 |
+
"name" : "per_layer_combined",
|
| 100 |
+
"type" : "MultiArray"
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"hasShapeFlexibility" : "0",
|
| 104 |
+
"isOptional" : "0",
|
| 105 |
+
"dataType" : "Int32",
|
| 106 |
+
"formattedType" : "MultiArray (Int32 1)",
|
| 107 |
+
"shortDescription" : "",
|
| 108 |
+
"shape" : "[1]",
|
| 109 |
+
"name" : "position_ids",
|
| 110 |
+
"type" : "MultiArray"
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"hasShapeFlexibility" : "0",
|
| 114 |
+
"isOptional" : "0",
|
| 115 |
+
"dataType" : "Float16",
|
| 116 |
+
"formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
|
| 117 |
+
"shortDescription" : "",
|
| 118 |
+
"shape" : "[1, 1, 1, 512]",
|
| 119 |
+
"name" : "causal_mask",
|
| 120 |
+
"type" : "MultiArray"
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"hasShapeFlexibility" : "0",
|
| 124 |
+
"isOptional" : "0",
|
| 125 |
+
"dataType" : "Float16",
|
| 126 |
+
"formattedType" : "MultiArray (Float16 1 × 1 × 512 × 1)",
|
| 127 |
+
"shortDescription" : "",
|
| 128 |
+
"shape" : "[1, 1, 512, 1]",
|
| 129 |
+
"name" : "update_mask",
|
| 130 |
+
"type" : "MultiArray"
|
| 131 |
+
}
|
| 132 |
+
],
|
| 133 |
+
"generatedClassName" : "chunk2",
|
| 134 |
+
"method" : "predict"
|
| 135 |
+
}
|
| 136 |
+
]
|
chunk2.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
chunk2.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2e813acee7effb1245bbc4cc71562c217ec60cf6bea95e19d2af0de41ae84802
|
| 3 |
+
size 348949056
|
chunk3.mlmodelc/analytics/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d3c9483151e34eb22968342f37663850d6cd0d7026054965a11ed0a54f5770de
|
| 3 |
+
size 243
|
chunk3.mlmodelc/coremldata.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:56b3ba3f09ee0076032af0df0dbfbe2e6fe2fc0c1dd95cb3806a979affb5862a
|
| 3 |
+
size 603
|
chunk3.mlmodelc/metadata.json
ADDED
|
@@ -0,0 +1,164 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"metadataOutputVersion" : "3.0",
|
| 4 |
+
"storagePrecision" : "Mixed (Float16, Palettized (10 bits), Palettized (11 bits), Palettized (13 bits), Palettized (17 bits), Palettized (7 bits), Palettized (9 bits), UInt4)",
|
| 5 |
+
"outputSchema" : [
|
| 6 |
+
{
|
| 7 |
+
"hasShapeFlexibility" : "0",
|
| 8 |
+
"isOptional" : "0",
|
| 9 |
+
"dataType" : "Int32",
|
| 10 |
+
"formattedType" : "MultiArray (Int32 1)",
|
| 11 |
+
"shortDescription" : "",
|
| 12 |
+
"shape" : "[1]",
|
| 13 |
+
"name" : "token_id",
|
| 14 |
+
"type" : "MultiArray"
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"hasShapeFlexibility" : "0",
|
| 18 |
+
"isOptional" : "0",
|
| 19 |
+
"dataType" : "Float16",
|
| 20 |
+
"formattedType" : "MultiArray (Float16 1)",
|
| 21 |
+
"shortDescription" : "",
|
| 22 |
+
"shape" : "[1]",
|
| 23 |
+
"name" : "token_logit",
|
| 24 |
+
"type" : "MultiArray"
|
| 25 |
+
}
|
| 26 |
+
],
|
| 27 |
+
"modelParameters" : [
|
| 28 |
+
|
| 29 |
+
],
|
| 30 |
+
"specificationVersion" : 9,
|
| 31 |
+
"mlProgramOperationTypeHistogram" : {
|
| 32 |
+
"Ios18.expandDims" : 31,
|
| 33 |
+
"Ios18.softmax" : 11,
|
| 34 |
+
"Ios18.mul" : 202,
|
| 35 |
+
"Ios18.matmul" : 22,
|
| 36 |
+
"Split" : 78,
|
| 37 |
+
"Ios18.greaterEqual" : 2,
|
| 38 |
+
"Select" : 2,
|
| 39 |
+
"Ios18.gatherAlongAxis" : 1,
|
| 40 |
+
"Tile" : 4,
|
| 41 |
+
"Ios18.gather" : 4,
|
| 42 |
+
"Ios18.add" : 57,
|
| 43 |
+
"Ios18.layerNorm" : 67,
|
| 44 |
+
"Ios18.reduceArgmax" : 1,
|
| 45 |
+
"Ios18.reshape" : 52,
|
| 46 |
+
"Ios18.constexprLutToDense" : 82,
|
| 47 |
+
"Ios18.conv" : 56,
|
| 48 |
+
"Ios18.gelu" : 22,
|
| 49 |
+
"Ios18.concat" : 78,
|
| 50 |
+
"Ios18.linear" : 22,
|
| 51 |
+
"Ios18.transpose" : 91,
|
| 52 |
+
"Ios18.cast" : 5,
|
| 53 |
+
"Ios18.tanh" : 1,
|
| 54 |
+
"Ios18.squeeze" : 13,
|
| 55 |
+
"Ios18.sliceByIndex" : 11
|
| 56 |
+
},
|
| 57 |
+
"computePrecision" : "Mixed (Float16, Int16, Int32, UInt16)",
|
| 58 |
+
"isUpdatable" : "0",
|
| 59 |
+
"stateSchema" : [
|
| 60 |
+
|
| 61 |
+
],
|
| 62 |
+
"availability" : {
|
| 63 |
+
"macOS" : "15.0",
|
| 64 |
+
"tvOS" : "18.0",
|
| 65 |
+
"visionOS" : "2.0",
|
| 66 |
+
"watchOS" : "11.0",
|
| 67 |
+
"iOS" : "18.0",
|
| 68 |
+
"macCatalyst" : "18.0"
|
| 69 |
+
},
|
| 70 |
+
"modelType" : {
|
| 71 |
+
"name" : "MLModelType_mlProgram"
|
| 72 |
+
},
|
| 73 |
+
"userDefinedMetadata" : {
|
| 74 |
+
"com.github.apple.coremltools.conversion_date" : "2026-04-09",
|
| 75 |
+
"com.github.apple.coremltools.source" : "torch==2.11.0",
|
| 76 |
+
"com.github.apple.coremltools.version" : "9.0",
|
| 77 |
+
"com.github.apple.coremltools.source_dialect" : "TorchScript"
|
| 78 |
+
},
|
| 79 |
+
"inputSchema" : [
|
| 80 |
+
{
|
| 81 |
+
"hasShapeFlexibility" : "0",
|
| 82 |
+
"isOptional" : "0",
|
| 83 |
+
"dataType" : "Float16",
|
| 84 |
+
"formattedType" : "MultiArray (Float16 1 × 1 × 1536)",
|
| 85 |
+
"shortDescription" : "",
|
| 86 |
+
"shape" : "[1, 1, 1536]",
|
| 87 |
+
"name" : "hidden_states",
|
| 88 |
+
"type" : "MultiArray"
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"hasShapeFlexibility" : "0",
|
| 92 |
+
"isOptional" : "0",
|
| 93 |
+
"dataType" : "Float16",
|
| 94 |
+
"formattedType" : "MultiArray (Float16 1 × 1 × 8960)",
|
| 95 |
+
"shortDescription" : "",
|
| 96 |
+
"shape" : "[1, 1, 8960]",
|
| 97 |
+
"name" : "per_layer_combined",
|
| 98 |
+
"type" : "MultiArray"
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"hasShapeFlexibility" : "0",
|
| 102 |
+
"isOptional" : "0",
|
| 103 |
+
"dataType" : "Int32",
|
| 104 |
+
"formattedType" : "MultiArray (Int32 1)",
|
| 105 |
+
"shortDescription" : "",
|
| 106 |
+
"shape" : "[1]",
|
| 107 |
+
"name" : "position_ids",
|
| 108 |
+
"type" : "MultiArray"
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"hasShapeFlexibility" : "0",
|
| 112 |
+
"isOptional" : "0",
|
| 113 |
+
"dataType" : "Float16",
|
| 114 |
+
"formattedType" : "MultiArray (Float16 1 × 1 × 1 × 512)",
|
| 115 |
+
"shortDescription" : "",
|
| 116 |
+
"shape" : "[1, 1, 1, 512]",
|
| 117 |
+
"name" : "causal_mask",
|
| 118 |
+
"type" : "MultiArray"
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"hasShapeFlexibility" : "0",
|
| 122 |
+
"isOptional" : "0",
|
| 123 |
+
"dataType" : "Float16",
|
| 124 |
+
"formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
|
| 125 |
+
"shortDescription" : "",
|
| 126 |
+
"shape" : "[1, 1, 512, 256]",
|
| 127 |
+
"name" : "kv13_k",
|
| 128 |
+
"type" : "MultiArray"
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"hasShapeFlexibility" : "0",
|
| 132 |
+
"isOptional" : "0",
|
| 133 |
+
"dataType" : "Float16",
|
| 134 |
+
"formattedType" : "MultiArray (Float16 1 × 1 × 512 × 256)",
|
| 135 |
+
"shortDescription" : "",
|
| 136 |
+
"shape" : "[1, 1, 512, 256]",
|
| 137 |
+
"name" : "kv13_v",
|
| 138 |
+
"type" : "MultiArray"
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"hasShapeFlexibility" : "0",
|
| 142 |
+
"isOptional" : "0",
|
| 143 |
+
"dataType" : "Float16",
|
| 144 |
+
"formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
|
| 145 |
+
"shortDescription" : "",
|
| 146 |
+
"shape" : "[1, 1, 512, 512]",
|
| 147 |
+
"name" : "kv14_k",
|
| 148 |
+
"type" : "MultiArray"
|
| 149 |
+
},
|
| 150 |
+
{
|
| 151 |
+
"hasShapeFlexibility" : "0",
|
| 152 |
+
"isOptional" : "0",
|
| 153 |
+
"dataType" : "Float16",
|
| 154 |
+
"formattedType" : "MultiArray (Float16 1 × 1 × 512 × 512)",
|
| 155 |
+
"shortDescription" : "",
|
| 156 |
+
"shape" : "[1, 1, 512, 512]",
|
| 157 |
+
"name" : "kv14_v",
|
| 158 |
+
"type" : "MultiArray"
|
| 159 |
+
}
|
| 160 |
+
],
|
| 161 |
+
"generatedClassName" : "chunk3",
|
| 162 |
+
"method" : "predict"
|
| 163 |
+
}
|
| 164 |
+
]
|
chunk3.mlmodelc/model.mil
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
chunk3.mlmodelc/weights/weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:13200c743df91df8b9c2168ca88abe02ec8b7d063ab7869811b457223757f029
|
| 3 |
+
size 562715968
|
embed_tokens_per_layer_q8.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dd1af367cde6fcb67a48925c0c566b0aac11946248d8e3cfebc4027550947cd8
|
| 3 |
+
size 2348810240
|
embed_tokens_per_layer_scales.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a439606004e3372158eed3efd4c671cefea056122afb93c546108411ea41b057
|
| 3 |
+
size 524288
|
embed_tokens_q8.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2286db227b17e71fb3908983999876625c811295055457b6f798e0f09969797a
|
| 3 |
+
size 402653184
|
embed_tokens_scales.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db47a8808d782d3c2b1ab722833b425e0bb4755360409d766acb89a4a8443461
|
| 3 |
+
size 524288
|
model_config.json
CHANGED
|
@@ -3,18 +3,13 @@
|
|
| 3 |
"architecture": "gemma4",
|
| 4 |
"hidden_size": 1536,
|
| 5 |
"num_hidden_layers": 35,
|
| 6 |
-
"num_attention_heads": 8,
|
| 7 |
-
"num_key_value_heads": 1,
|
| 8 |
-
"head_dim": 256,
|
| 9 |
-
"vocab_size": 262144,
|
| 10 |
"context_length": 512,
|
| 11 |
-
"
|
| 12 |
"bos_token_id": 2,
|
| 13 |
"eos_token_id": 1,
|
| 14 |
-
"
|
| 15 |
-
"
|
| 16 |
-
"
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
"tokenizer_repo": "google/gemma-4-E2B-it"
|
| 20 |
}
|
|
|
|
| 3 |
"architecture": "gemma4",
|
| 4 |
"hidden_size": 1536,
|
| 5 |
"num_hidden_layers": 35,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
"context_length": 512,
|
| 7 |
+
"vocab_size": 262144,
|
| 8 |
"bos_token_id": 2,
|
| 9 |
"eos_token_id": 1,
|
| 10 |
+
"per_layer_dim": 256,
|
| 11 |
+
"embed_scale": 39.191835884530846,
|
| 12 |
+
"per_layer_model_projection_scale": 0.02551551815399144,
|
| 13 |
+
"per_layer_input_scale": 0.7071067811865476,
|
| 14 |
+
"per_layer_embed_scale": 16.0
|
|
|
|
| 15 |
}
|
per_layer_norm_weight.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc90ef48ae4554761ff0c3a802ac0c6f08f4818fca7a7ecb7409a5a20da92a77
|
| 3 |
+
size 1024
|
per_layer_projection.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9d3db373cb38470e868fbf45bbddb13198fd61bbe57073340cfd9035028bb062
|
| 3 |
+
size 27525120
|
vision.mlmodelc/coremldata.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 426
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c64be1b509ebc552167fb1a5b2014b32383f5f3a4ebaa042ced1e3403d2b23ae
|
| 3 |
size 426
|