finnvoorhees commited on
Commit
b184eda
·
verified ·
1 Parent(s): 3ba5d4b

Upload folder using huggingface_hub

Browse files
SmolLM2-135M-Instruct-4bit.mlmodelc/analytics/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cddef94d93e966622866b37412299f185eeaa037a69d5b5b3c9ef6539e54ff1
3
+ size 243
SmolLM2-135M-Instruct-4bit.mlmodelc/coremldata.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27613cd42079a70fd700c9031ecbe1fcee469336fff3bf93b3b7a5da7ecd3c14
3
+ size 445
SmolLM2-135M-Instruct-4bit.mlmodelc/metadata.json ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "metadataOutputVersion" : "3.0",
4
+ "storagePrecision" : "Mixed (Float16, Int4)",
5
+ "outputSchema" : [
6
+ {
7
+ "hasShapeFlexibility" : "0",
8
+ "isOptional" : "0",
9
+ "dataType" : "Float16",
10
+ "formattedType" : "MultiArray (Float16)",
11
+ "shortDescription" : "",
12
+ "shape" : "[]",
13
+ "name" : "logits",
14
+ "type" : "MultiArray"
15
+ }
16
+ ],
17
+ "modelParameters" : [
18
+
19
+ ],
20
+ "specificationVersion" : 9,
21
+ "mlProgramOperationTypeHistogram" : {
22
+ "Ios18.expandDims" : 66,
23
+ "Range1d" : 1,
24
+ "Ios18.cos" : 1,
25
+ "Ios18.mul" : 332,
26
+ "Ios18.matmul" : 1,
27
+ "Ios18.rsqrt" : 61,
28
+ "Ios16.reduceMean" : 61,
29
+ "Ios18.realDiv" : 60,
30
+ "Ios18.scaledDotProductAttention" : 30,
31
+ "Ios18.sin" : 1,
32
+ "Ios18.readState" : 62,
33
+ "Tile" : 60,
34
+ "Ios18.gather" : 125,
35
+ "Ios18.add" : 183,
36
+ "Ios18.writeState" : 60,
37
+ "Ios18.sliceUpdate" : 60,
38
+ "Ios18.reshape" : 180,
39
+ "Shape" : 184,
40
+ "Ios18.linear" : 211,
41
+ "Ios18.concat" : 213,
42
+ "Ios18.transpose" : 121,
43
+ "Ios18.sub" : 1,
44
+ "Ios18.pow" : 61,
45
+ "Ios18.cast" : 249,
46
+ "Ios18.silu" : 30,
47
+ "Ios18.sliceByIndex" : 270,
48
+ "Ios18.constexprBlockwiseShiftScale" : 211
49
+ },
50
+ "computePrecision" : "Mixed (Float16, Float32, Int16, Int32, UInt16)",
51
+ "isUpdatable" : "0",
52
+ "stateSchema" : [
53
+ {
54
+ "dataType" : "Float16",
55
+ "isOptional" : "0",
56
+ "formattedType" : "State (Float16 30 × 1 × 3 × 2048 × 64)",
57
+ "shortDescription" : "",
58
+ "shape" : "[30, 1, 3, 2048, 64]",
59
+ "name" : "key_cache",
60
+ "type" : "State"
61
+ },
62
+ {
63
+ "dataType" : "Float16",
64
+ "isOptional" : "0",
65
+ "formattedType" : "State (Float16 30 × 1 × 3 × 2048 × 64)",
66
+ "shortDescription" : "",
67
+ "shape" : "[30, 1, 3, 2048, 64]",
68
+ "name" : "value_cache",
69
+ "type" : "State"
70
+ }
71
+ ],
72
+ "availability" : {
73
+ "macOS" : "15.0",
74
+ "tvOS" : "18.0",
75
+ "visionOS" : "2.0",
76
+ "watchOS" : "11.0",
77
+ "iOS" : "18.0",
78
+ "macCatalyst" : "18.0"
79
+ },
80
+ "modelType" : {
81
+ "name" : "MLModelType_mlProgram"
82
+ },
83
+ "userDefinedMetadata" : {
84
+ "com.github.apple.coremltools.source_dialect" : "TorchScript",
85
+ "com.github.apple.coremltools.source" : "torch==2.5.1",
86
+ "com.github.apple.coremltools.version" : "8.1"
87
+ },
88
+ "inputSchema" : [
89
+ {
90
+ "dataType" : "Int32",
91
+ "hasShapeFlexibility" : "1",
92
+ "isOptional" : "0",
93
+ "shapeFlexibility" : "1 × 1...2048",
94
+ "shapeRange" : "[[1, 1], [1, 2048]]",
95
+ "formattedType" : "MultiArray (Int32 1 × 1)",
96
+ "type" : "MultiArray",
97
+ "shape" : "[1, 1]",
98
+ "name" : "input_ids",
99
+ "shortDescription" : ""
100
+ },
101
+ {
102
+ "dataType" : "Float16",
103
+ "hasShapeFlexibility" : "1",
104
+ "isOptional" : "0",
105
+ "shapeFlexibility" : "1 × 1 × 1...2048 × 1...2048",
106
+ "shapeRange" : "[[1, 1], [1, 1], [1, 2048], [1, 2048]]",
107
+ "formattedType" : "MultiArray (Float16 1 × 1 × 1 × 1)",
108
+ "type" : "MultiArray",
109
+ "shape" : "[1, 1, 1, 1]",
110
+ "name" : "causal_mask",
111
+ "shortDescription" : ""
112
+ }
113
+ ],
114
+ "generatedClassName" : "SmolLM2_135M_Instruct_4bit",
115
+ "method" : "predict"
116
+ }
117
+ ]
SmolLM2-135M-Instruct-4bit.mlmodelc/model.mil ADDED
The diff for this file is too large to render. See raw diff
 
SmolLM2-135M-Instruct-4bit.mlmodelc/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a45aeb7f36002951534abd7395a296e6400cd056667342b19148b22b4852c19
3
+ size 75849472