mlboydaisuke commited on
Commit
c2b3ed9
·
verified ·
1 Parent(s): 87c14c9

upload model.mlmodelc/metadata.json

Browse files
Files changed (1) hide show
  1. model.mlmodelc/metadata.json +133 -0
model.mlmodelc/metadata.json ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "metadataOutputVersion" : "3.0",
4
+ "storagePrecision" : "Float16",
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" : 10,
31
+ "mlProgramOperationTypeHistogram" : {
32
+ "Ios18.softmax" : 18,
33
+ "Ios19.mul" : 435,
34
+ "Ios18.matmul" : 36,
35
+ "Ios19.sliceUpdate" : 36,
36
+ "Ios18.gatherAlongAxis" : 1,
37
+ "Ios19.squeeze" : 56,
38
+ "Ios18.readState" : 36,
39
+ "Tile" : 72,
40
+ "Ios18.gather" : 5,
41
+ "Ios19.add" : 127,
42
+ "Ios18.layerNorm" : 109,
43
+ "Ios18.writeState" : 36,
44
+ "Ios19.concat" : 145,
45
+ "Ios19.transpose" : 164,
46
+ "Ios18.reduceArgmax" : 1,
47
+ "Ios19.expandDims" : 117,
48
+ "Ios18.conv" : 127,
49
+ "Ios18.cast" : 1,
50
+ "Ios18.gelu" : 18,
51
+ "Ios19.split" : 145,
52
+ "Ios19.sliceByIndex" : 36,
53
+ "Ios19.sub" : 1,
54
+ "Ios19.select" : 1,
55
+ "Ios19.greaterEqual" : 1,
56
+ "Ios19.reshape" : 180
57
+ },
58
+ "computePrecision" : "Mixed (Float16, Int32, UInt16)",
59
+ "isUpdatable" : "0",
60
+ "stateSchema" : [
61
+ {
62
+ "dataType" : "Float16",
63
+ "isOptional" : "0",
64
+ "formattedType" : "State (Float16 36 × 1 × 2048 × 256)",
65
+ "shortDescription" : "",
66
+ "shape" : "[36, 1, 2048, 256]",
67
+ "name" : "kv_cache_0",
68
+ "type" : "State"
69
+ }
70
+ ],
71
+ "availability" : {
72
+ "macOS" : "16.0",
73
+ "tvOS" : "19.0",
74
+ "visionOS" : "3.0",
75
+ "watchOS" : "12.0",
76
+ "iOS" : "19.0",
77
+ "macCatalyst" : "19.0"
78
+ },
79
+ "modelType" : {
80
+ "name" : "MLModelType_mlProgram"
81
+ },
82
+ "userDefinedMetadata" : {
83
+ "com.github.apple.coremltools.conversion_date" : "2026-04-22",
84
+ "com.github.apple.coremltools.source" : "torch==2.8.0",
85
+ "com.github.apple.coremltools.version" : "9.0",
86
+ "com.github.apple.coremltools.source_dialect" : "TorchScript"
87
+ },
88
+ "inputSchema" : [
89
+ {
90
+ "hasShapeFlexibility" : "0",
91
+ "isOptional" : "0",
92
+ "dataType" : "Int32",
93
+ "formattedType" : "MultiArray (Int32 1 × 1)",
94
+ "shortDescription" : "",
95
+ "shape" : "[1, 1]",
96
+ "name" : "input_ids",
97
+ "type" : "MultiArray"
98
+ },
99
+ {
100
+ "hasShapeFlexibility" : "0",
101
+ "isOptional" : "0",
102
+ "dataType" : "Int32",
103
+ "formattedType" : "MultiArray (Int32 1)",
104
+ "shortDescription" : "",
105
+ "shape" : "[1]",
106
+ "name" : "position_ids",
107
+ "type" : "MultiArray"
108
+ },
109
+ {
110
+ "hasShapeFlexibility" : "0",
111
+ "isOptional" : "0",
112
+ "dataType" : "Float16",
113
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 2048)",
114
+ "shortDescription" : "",
115
+ "shape" : "[1, 1, 1, 2048]",
116
+ "name" : "causal_mask",
117
+ "type" : "MultiArray"
118
+ },
119
+ {
120
+ "hasShapeFlexibility" : "0",
121
+ "isOptional" : "0",
122
+ "dataType" : "Float16",
123
+ "formattedType" : "MultiArray (Float16 1 × 1 × 2048 × 1)",
124
+ "shortDescription" : "",
125
+ "shape" : "[1, 1, 2048, 1]",
126
+ "name" : "update_mask",
127
+ "type" : "MultiArray"
128
+ }
129
+ ],
130
+ "generatedClassName" : "model",
131
+ "method" : "predict"
132
+ }
133
+ ]