hrun28 commited on
Commit
bb39e3b
·
verified ·
1 Parent(s): 1fc0421

Upload folder using huggingface_hub

Browse files
checksums.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "chat_template.jinja": {
3
+ "sha256": "7de1c58e208eda46e9c7f86397df37ec49883aeece39fb961e0a6b24088dd3c4",
4
+ "size_bytes": 1532
5
+ },
6
+ "config.json": {
7
+ "sha256": "2334847a54ae742473ad13f583096733e40b45b0e28562628063b48ba4baa686",
8
+ "size_bytes": 428
9
+ },
10
+ "model.mlmodelc/analytics/coremldata.bin": {
11
+ "sha256": "426cc1d490e8a5d4de1f7c5d78dcd0f07676b73cfcdfa23e3ff7e262df53f174",
12
+ "size_bytes": 243
13
+ },
14
+ "model.mlmodelc/coremldata.bin": {
15
+ "sha256": "b85e54fb15ed243b4fb6a3dfd77be1547486e49a169362c3eba9a50f13bffa3a",
16
+ "size_bytes": 377
17
+ },
18
+ "model.mlmodelc/metadata.json": {
19
+ "sha256": "1f6da60e73c54733e53050524745e65a25a50fba08561d4f4e6ef0cd73f141e1",
20
+ "size_bytes": 2131
21
+ },
22
+ "model.mlmodelc/model.mil": {
23
+ "sha256": "8d5e4fea0fa8c2d293b104c900c309c6102e254070a0df5cd88e08e653ce4ef5",
24
+ "size_bytes": 975897
25
+ },
26
+ "model.mlmodelc/weights/weight.bin": {
27
+ "sha256": "7ffab74e4388ebf50a2c97599ecc26497874c771e7c9202599566b63e622fc96",
28
+ "size_bytes": 1941464128
29
+ },
30
+ "special_tokens_map.json": {
31
+ "sha256": "2f7b0adf4fb469770bb1490e3e35df87b1dc578246c5e7e6fc76ecf33213a397",
32
+ "size_bytes": 662
33
+ },
34
+ "tokenizer.json": {
35
+ "sha256": "4667f2089529e8e7657cfb6d1c19910ae71ff5f28aa7ab2ff2763330affad795",
36
+ "size_bytes": 33384568
37
+ },
38
+ "tokenizer_config.json": {
39
+ "sha256": "983c80895e7b188911f5ccfbb4f780a4e73fb3131ed2080a3e847ef8623cfdca",
40
+ "size_bytes": 1155387
41
+ }
42
+ }
config.json CHANGED
@@ -1,7 +1,18 @@
1
  {
 
 
2
  "model_id": "mlabonne/gemma-3-4b-it-abliterated",
3
  "format": "coreml",
4
- "seq_len": 2048,
5
- "quantization": "4-bit",
6
- "vocab_size": 262144
 
 
 
 
 
 
 
 
 
7
  }
 
1
  {
2
+ "pipeline": "mindfulai-coreml-canonical",
3
+ "pipeline_version": "1",
4
  "model_id": "mlabonne/gemma-3-4b-it-abliterated",
5
  "format": "coreml",
6
+ "context_length": 256,
7
+ "shape": [
8
+ 1,
9
+ 256
10
+ ],
11
+ "quantization": "4-bit-palettization",
12
+ "minimum_ios": "17.0",
13
+ "compute_units_runtime": "cpuAndNeuralEngine",
14
+ "timestamp_utc": "2026-04-08T21:24:39Z",
15
+ "python": "3.9.6",
16
+ "torch": "2.7.0",
17
+ "coremltools": "9.0"
18
  }
model.mlmodelc/analytics/coremldata.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e99481423386c5d0fdf59f0c377a856806c24422729abd53b2246371ce3339b2
3
  size 243
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:426cc1d490e8a5d4de1f7c5d78dcd0f07676b73cfcdfa23e3ff7e262df53f174
3
  size 243
model.mlmodelc/coremldata.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:58cae736947cc38d2b66454b9744c702b1698e20cf9c46e09cda90870cd41b3b
3
- size 384
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b85e54fb15ed243b4fb6a3dfd77be1547486e49a169362c3eba9a50f13bffa3a
3
+ size 377
model.mlmodelc/metadata.json CHANGED
@@ -7,9 +7,9 @@
7
  "hasShapeFlexibility" : "0",
8
  "isOptional" : "0",
9
  "dataType" : "Float16",
10
- "formattedType" : "MultiArray (Float16)",
11
  "shortDescription" : "",
12
- "shape" : "[]",
13
  "name" : "logits",
14
  "type" : "MultiArray"
15
  }
@@ -19,38 +19,27 @@
19
  ],
20
  "specificationVersion" : 8,
21
  "mlProgramOperationTypeHistogram" : {
22
- "Ios17.cos" : 2,
23
- "Range1d" : 1,
24
- "Ios17.equal" : 68,
25
- "Ios17.logicalAnd" : 2,
26
- "Ios17.reshape" : 206,
27
- "Ios16.reduceMean" : 205,
28
- "Ios16.softmax" : 34,
29
- "Ios17.matmul" : 70,
30
- "Ios17.transpose" : 138,
31
- "Ios17.sin" : 2,
32
- "Select" : 70,
33
- "Ios17.expandDims" : 78,
34
  "Ios17.add" : 377,
35
- "Tile" : 72,
36
- "Ios17.lessEqual" : 1,
37
- "Ios17.sliceByIndex" : 170,
38
- "Shape" : 209,
39
- "Ios17.gather" : 138,
40
- "Ios17.cast" : 309,
41
- "Ios17.sub" : 35,
42
- "Ios16.constexprLutToDense" : 239,
43
  "Ios17.pow" : 205,
44
- "Ios17.realDiv" : 72,
45
- "Ios17.concat" : 206,
46
  "Ios17.greaterEqual" : 2,
47
- "Ios17.linear" : 239,
48
- "Ios16.gelu" : 34,
49
- "Ios17.rsqrt" : 205,
50
- "Ios17.greater" : 1,
51
- "Ios17.mul" : 717
52
  },
53
- "computePrecision" : "Mixed (Float16, Float32, Int32, UInt16)",
54
  "isUpdatable" : "0",
55
  "stateSchema" : [
56
 
@@ -68,22 +57,20 @@
68
  },
69
  "userDefinedMetadata" : {
70
  "com.github.apple.coremltools.conversion_date" : "2026-04-08",
71
- "com.github.apple.coremltools.source" : "torch==2.8.0",
72
  "com.github.apple.coremltools.version" : "9.0",
73
  "com.github.apple.coremltools.source_dialect" : "TorchScript"
74
  },
75
  "inputSchema" : [
76
  {
77
- "dataType" : "Int32",
78
- "hasShapeFlexibility" : "1",
79
  "isOptional" : "0",
80
- "shapeFlexibility" : "1 × 1...2048",
81
- "shapeRange" : "[[1, 1], [1, 2048]]",
82
- "formattedType" : "MultiArray (Int32 1 × 64)",
83
- "type" : "MultiArray",
84
- "shape" : "[1, 64]",
85
  "name" : "input_ids",
86
- "shortDescription" : ""
87
  }
88
  ],
89
  "generatedClassName" : "model",
 
7
  "hasShapeFlexibility" : "0",
8
  "isOptional" : "0",
9
  "dataType" : "Float16",
10
+ "formattedType" : "MultiArray (Float16 1 × 256 × 262208)",
11
  "shortDescription" : "",
12
+ "shape" : "[1, 256, 262208]",
13
  "name" : "logits",
14
  "type" : "MultiArray"
15
  }
 
19
  ],
20
  "specificationVersion" : 8,
21
  "mlProgramOperationTypeHistogram" : {
22
+ "Ios17.mul" : 683,
23
+ "Ios17.linear" : 239,
24
+ "Select" : 2,
25
+ "Ios17.transpose" : 136,
26
+ "Ios16.constexprLutToDense" : 244,
27
+ "Ios17.rsqrt" : 205,
28
+ "Ios17.matmul" : 68,
29
+ "Ios17.gather" : 1,
 
 
 
 
30
  "Ios17.add" : 377,
31
+ "Ios16.reduceMean" : 205,
32
+ "Ios17.sliceByIndex" : 136,
33
+ "Ios17.concat" : 68,
34
+ "Tile" : 68,
 
 
 
 
35
  "Ios17.pow" : 205,
 
 
36
  "Ios17.greaterEqual" : 2,
37
+ "Ios17.expandDims" : 68,
38
+ "Ios16.softmax" : 34,
39
+ "Ios17.reshape" : 204,
40
+ "Ios16.gelu" : 34
 
41
  },
42
+ "computePrecision" : "Mixed (Float16, Float32, Int32)",
43
  "isUpdatable" : "0",
44
  "stateSchema" : [
45
 
 
57
  },
58
  "userDefinedMetadata" : {
59
  "com.github.apple.coremltools.conversion_date" : "2026-04-08",
60
+ "com.github.apple.coremltools.source" : "torch==2.7.0",
61
  "com.github.apple.coremltools.version" : "9.0",
62
  "com.github.apple.coremltools.source_dialect" : "TorchScript"
63
  },
64
  "inputSchema" : [
65
  {
66
+ "hasShapeFlexibility" : "0",
 
67
  "isOptional" : "0",
68
+ "dataType" : "Int32",
69
+ "formattedType" : "MultiArray (Int32 1 × 256)",
70
+ "shortDescription" : "",
71
+ "shape" : "[1, 256]",
 
72
  "name" : "input_ids",
73
+ "type" : "MultiArray"
74
  }
75
  ],
76
  "generatedClassName" : "model",
model.mlmodelc/model.mil CHANGED
The diff for this file is too large to render. See raw diff
 
model.mlmodelc/weights/weight.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3464f1916ed9542e2f585d0e52286f9355cf156439b3bb71407930a055e41a4f
3
- size 1941299968
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ffab74e4388ebf50a2c97599ecc26497874c771e7c9202599566b63e622fc96
3
+ size 1941464128