alexwengg commited on
Commit
878e140
·
verified ·
1 Parent(s): 636dee2

int8 buckets (recommended) + weight-shared int8 multifunction package

Browse files
L1024_F16/DecisionRow_w8.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ce919d28e3ce2661b3e04164e44cfa039badfdc34c22eba1384fd2bb6df1fce
3
+ size 3509289
L1024_F16/DecisionRow_w8.mlpackage/Data/com.apple.CoreML/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db8c66f760c48627e7fe4957c82c9b5ff0ea4ee23a6da9f570b138f27dc8e006
3
+ size 501762748
L1024_F16/DecisionRow_w8.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "49EDDC24-1818-442C-973E-82F4F6863FB9": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "8B601F45-6151-4DB3-A0BE-56D0AAEFAB09": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Specification",
13
+ "name": "model.mlmodel",
14
+ "path": "com.apple.CoreML/model.mlmodel"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "8B601F45-6151-4DB3-A0BE-56D0AAEFAB09"
18
+ }
L512_F8/DecisionRow_w8.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c53fecc9fc67d03884a593448074113e1db040b9908afe59e6482d67381b290
3
+ size 2473297
L512_F8/DecisionRow_w8.mlpackage/Data/com.apple.CoreML/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4433b38de2fda23446174fb0d011736c195c32dd9a924c2b8c53ad028b50c21a
3
+ size 500705340
L512_F8/DecisionRow_w8.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "29185AB5-D32D-47A0-94A7-B3D00E30528E": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Weights",
7
+ "name": "weights",
8
+ "path": "com.apple.CoreML/weights"
9
+ },
10
+ "B300BD00-D661-4889-A595-6DC698B03194": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Specification",
13
+ "name": "model.mlmodel",
14
+ "path": "com.apple.CoreML/model.mlmodel"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "B300BD00-D661-4889-A595-6DC698B03194"
18
+ }
L640_F8/DecisionRow_w8.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ed49dcf8978cbed9dabc19365cba6507eca638eb03baab0f977a61e39d4b91f
3
+ size 2732166
L640_F8/DecisionRow_w8.mlpackage/Data/com.apple.CoreML/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3711e818b4612c7024a543fbc6bf0b22acf43b647e2930b2ce624f70dcb8cfcc
3
+ size 500920572
L640_F8/DecisionRow_w8.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "5519F8F0-EAC3-4451-B62E-A0EFAB5D4CEB": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "FC817E8E-652A-4DEA-96B2-0B43009E1341": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "5519F8F0-EAC3-4451-B62E-A0EFAB5D4CEB"
18
+ }
README.md CHANGED
@@ -49,10 +49,16 @@ requests are 430–560 tokens).
49
 
50
  | Path | What |
51
  | --- | --- |
52
- | `L512_F8/`, `L640_F8/`, `L1024_F16/` | `DecisionRow_fp16.mlpackage` + `config.json` per bucket (tokens × fields) |
 
53
  | `embeddings.f16` | token embeddings (fp16, 248,320 × 1,024), gathered on the host |
54
  | `tokenizer.json` | the checkpoint's tokenizer (Qwen3.5 + `<decision>`) |
55
 
 
 
 
 
 
56
  Same inputs and outputs as [FluidInference/intern-decision-0.8b-coreml](https://huggingface.co/FluidInference/intern-decision-0.8b-coreml):
57
  `hidden` [1, L, 1024], `cos` / `sin` [L, 64], `field_onehot` [F, L] → `logits` [F, 62] over the answer symbols; softmax
58
  over the first *n* symbols, log-probabilities divided by the temperature. It is a general typed-decision model that
 
49
 
50
  | Path | What |
51
  | --- | --- |
52
+ | `L512_F8/`, `L640_F8/`, `L1024_F16/` | `DecisionRow_w8.mlpackage` (int8 weights, 480 MB) and `DecisionRow_fp16.mlpackage` (955 MB) + `config.json` per bucket (tokens × fields) |
53
+ | `multi/DecisionRow_w8.mlpackage` | all three buckets as one weight-shared multifunction package (488 MB, functions `L512_F8` / `L640_F8` / `L1024_F16`; needs macOS 15 / iOS 18 to select a function) |
54
  | `embeddings.f16` | token embeddings (fp16, 248,320 × 1,024), gathered on the host |
55
  | `tokenizer.json` | the checkpoint's tokenizer (Qwen3.5 + `<decision>`) |
56
 
57
+ int8 (per-channel, weight-only) is the recommended download: measured on the Swift runtime with one bucket in use it
58
+ is about 0.85 GB in memory (374 MB process footprint + 480 MB mapped weights) against about 1.5 GB for fp16, at the
59
+ same 90 ms per decision, and it played 15-0 against poke-env's max-base-power player where fp16 played 14-1 (15
60
+ battles each). FluidUse's `.showdown` snapshot uses the int8 buckets.
61
+
62
  Same inputs and outputs as [FluidInference/intern-decision-0.8b-coreml](https://huggingface.co/FluidInference/intern-decision-0.8b-coreml):
63
  `hidden` [1, L, 1024], `cos` / `sin` [L, 64], `field_onehot` [F, L] → `logits` [F, 62] over the answer symbols; softmax
64
  over the first *n* symbols, log-probabilities divided by the temperature. It is a general typed-decision model that
multi/DecisionRow_w8.mlpackage/Data/com.apple.CoreML/model.mlmodel ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06a41b972b85a8e1a81e2e5c112cd575e80943839dd8831e98b5633c41dc9920
3
+ size 8713191
multi/DecisionRow_w8.mlpackage/Data/com.apple.CoreML/weights/weight.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57a8fd82fb1d4d06899b10cdc7bbff9d849933a1db5a52a45f21cace0121b7b2
3
+ size 503032960
multi/DecisionRow_w8.mlpackage/Manifest.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fileFormatVersion": "1.0.0",
3
+ "itemInfoEntries": {
4
+ "869188FB-BB17-4356-AB32-0F3ADD4EFC19": {
5
+ "author": "com.apple.CoreML",
6
+ "description": "CoreML Model Specification",
7
+ "name": "model.mlmodel",
8
+ "path": "com.apple.CoreML/model.mlmodel"
9
+ },
10
+ "AA0B98FD-48BE-4668-83F6-7B57619E9170": {
11
+ "author": "com.apple.CoreML",
12
+ "description": "CoreML Model Weights",
13
+ "name": "weights",
14
+ "path": "com.apple.CoreML/weights"
15
+ }
16
+ },
17
+ "rootModelIdentifier": "869188FB-BB17-4356-AB32-0F3ADD4EFC19"
18
+ }
multi/config.json ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_name": "Intern-Decision-0.8B",
3
+ "checkpoint": "merged",
4
+ "language_shard_sha256": "8f5ca7f002c68b5b03b7205336ec11e6bb6983b96923fbf57543618bef5b87bd",
5
+ "length": 512,
6
+ "max_fields": 8,
7
+ "hidden_size": 1024,
8
+ "rotary_dim": 64,
9
+ "rope_theta": 10000000,
10
+ "vocab_size": 248320,
11
+ "pad_id": 248044,
12
+ "marker_id": 248077,
13
+ "symbols": "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
14
+ "symbol_ids": [
15
+ 32,
16
+ 33,
17
+ 34,
18
+ 35,
19
+ 36,
20
+ 37,
21
+ 38,
22
+ 39,
23
+ 40,
24
+ 41,
25
+ 42,
26
+ 43,
27
+ 44,
28
+ 45,
29
+ 46,
30
+ 47,
31
+ 48,
32
+ 49,
33
+ 50,
34
+ 51,
35
+ 52,
36
+ 53,
37
+ 54,
38
+ 55,
39
+ 56,
40
+ 57,
41
+ 64,
42
+ 65,
43
+ 66,
44
+ 67,
45
+ 68,
46
+ 69,
47
+ 70,
48
+ 71,
49
+ 72,
50
+ 73,
51
+ 74,
52
+ 75,
53
+ 76,
54
+ 77,
55
+ 78,
56
+ 79,
57
+ 80,
58
+ 81,
59
+ 82,
60
+ 83,
61
+ 84,
62
+ 85,
63
+ 86,
64
+ 87,
65
+ 88,
66
+ 89,
67
+ 15,
68
+ 16,
69
+ 17,
70
+ 18,
71
+ 19,
72
+ 20,
73
+ 21,
74
+ 22,
75
+ 23,
76
+ 24
77
+ ],
78
+ "temperature": 2.747760550703,
79
+ "system_prompt": "You are a careful decision assistant. Use the state and decision schema in the user message to make the requested decisions. For every field, choose exactly one answer symbol (e.g. A, B, C, ...) from its listed options and return one valid JSON object mapping each field name to its chosen symbol. Use the field names and symbols exactly as given. Do not include explanations, Markdown, or extra text.",
80
+ "precision": "int8",
81
+ "functions": {
82
+ "L512_F8": {
83
+ "length": 512,
84
+ "max_fields": 8
85
+ },
86
+ "L640_F8": {
87
+ "length": 640,
88
+ "max_fields": 8
89
+ },
90
+ "L1024_F16": {
91
+ "length": 1024,
92
+ "max_fields": 16
93
+ }
94
+ }
95
+ }