sigilwen commited on
Commit
d865b58
·
verified ·
1 Parent(s): cacf251

Flash draft round 4: 139k conversations, capability prompts

Browse files
Files changed (4) hide show
  1. README.md +16 -8
  2. draft/layer-0.bin +1 -1
  3. draft/model.bin +1 -1
  4. manifest.json +2 -2
README.md CHANGED
@@ -12,12 +12,12 @@ tags:
12
 
13
  Woof is the Pareto-frontier model that runs Underdog on your Mac and iPhone, even without wifi. This is Woof packed for **Husky**, Underdog's model-specific inference engine for Apple silicon, with **Flash on**: the trained draft that lets Husky check several tokens per read of the weights.
14
 
15
- Husky is built around Woof's exact shapes instead of around any model. On an M5 Max it is faster than Apple's MLX on all sixteen tasks we measure: 1.8 to 3.9× on edits, 3.6 to 5.5× to the first word on a continued conversation, and with Flash on, 1.1 to 4.2× across the board. Same weights, same answers. The numbers, the method and the receipts are at [husky.underdog.ai](https://husky.underdog.ai).
16
 
17
  ## What is in the package
18
 
19
  - `target/`: Woof's 4-bit weights laid out in the order Husky's kernels read them. A repack, not a requantization: no value changes.
20
- - `draft/`: the Flash draft, round 2. One small layer that reads Woof's own hidden states from five of its layers and proposes the next seven tokens; trained by self-distillation on Woof's replies to 21,000 conversations. On writing it lands about 1.5 tokens a step; on structured output such as JSON, about 4.
21
  - `manifest.json`: the model's geometry, which the engine reads instead of assuming.
22
  - `tokenizer/`: Woof's tokenizer.
23
 
@@ -35,12 +35,20 @@ husky serve --model ConwayResearch/husky-flash
35
 
36
  | Prompt | MLX tok/s | Husky | Flash on |
37
  | --- | ---: | ---: | ---: |
38
- | Short email | 151 | 164 | 251 |
39
- | Invoice to JSON | 164 | 208 | 491 |
40
- | CSV to a table | 158 | 287 | 415 |
41
- | Fix typos in a paragraph | 159 | 463 | 498 |
42
- | Add a field to a JSON file | 157 | 611 | 643 |
43
- | Function edit | 163 | 614 | 681 |
 
 
 
 
 
 
 
 
44
 
45
  First token on a continued conversation, both engines from their caches: 29 to 39 ms on Husky, 137 to 177 ms on MLX.
46
 
 
12
 
13
  Woof is the Pareto-frontier model that runs Underdog on your Mac and iPhone, even without wifi. This is Woof packed for **Husky**, Underdog's model-specific inference engine for Apple silicon, with **Flash on**: the trained draft that lets Husky check several tokens per read of the weights.
14
 
15
+ Husky is built around Woof's exact shapes instead of around any model. On an M5 Max it is faster than Apple's MLX on all sixteen tasks we measure: 1.8 to 3.9× on edits, 3.6 to 5.5× to the first word on a continued conversation, and with Flash on, 1.3 to 4.5× across the board. Same weights, same answers. The numbers, the method and the receipts are at [husky.underdog.ai](https://husky.underdog.ai).
16
 
17
  ## What is in the package
18
 
19
  - `target/`: Woof's 4-bit weights laid out in the order Husky's kernels read them. A repack, not a requantization: no value changes.
20
+ - `draft/`: the Flash draft, round 4. One small layer that reads Woof's own hidden states from five of its layers and proposes the next seven tokens; trained by self-distillation on Woof's replies to 139,000 conversations: Underdog's own prompt shapes (edits, JSON, tables, HTML and markdown UI, tool calls, mail, code, summaries, browser steps, follow-ups) and public chat, instruction and code sets. On writing it lands about 2 tokens a step; on code and structured output, 4 to 5.
21
  - `manifest.json`: the model's geometry, which the engine reads instead of assuming.
22
  - `tokenizer/`: Woof's tokenizer.
23
 
 
35
 
36
  | Prompt | MLX tok/s | Husky | Flash on |
37
  | --- | ---: | ---: | ---: |
38
+ | Short email | 151 | 164 | 260 |
39
+ | Reply to a thread | 163 | 170 | 217 |
40
+ | Tone rewrite | 162 | 168 | 269 |
41
+ | Meeting notes to to-dos | 163 | 175 | 234 |
42
+ | Call summary | 162 | 166 | 211 |
43
+ | Question over a document | 159 | 193 | 210 |
44
+ | Invoice to JSON | 164 | 208 | 496 |
45
+ | Data to a table | 163 | 188 | 282 |
46
+ | Write a function | 155 | 170 | 545 |
47
+ | CSV to a table | 158 | 287 | 462 |
48
+ | Fix typos in a paragraph | 159 | 463 | 535 |
49
+ | Rename a SQL column | 158 | 487 | 547 |
50
+ | Add a field to a JSON file | 157 | 611 | 672 |
51
+ | Function edit | 163 | 614 | 730 |
52
 
53
  First token on a continued conversation, both engines from their caches: 29 to 39 ms on Husky, 137 to 177 ms on MLX.
54
 
draft/layer-0.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d2fad09914781da1df0ff67d2dcc9836298db7f6f718e5e32e0d3a6bfc604499
3
  size 18251776
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b682ad79436b841bd00ed68e700ca04c9bacf35b80162808081246d69e051d8d
3
  size 18251776
draft/model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:044e489b0dfcd7e5111273595150d92b10bad3195a0715a4c51ac1809c6b902d
3
  size 273137664
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9686e355cd70b455c4eae9d242c450bff57a2ee5aae18196d7022e0ee7fe1fd7
3
  size 273137664
manifest.json CHANGED
@@ -2,12 +2,12 @@
2
  "artifacts": [
3
  {
4
  "path": "draft/layer-0.bin",
5
- "sha256": "d2fad09914781da1df0ff67d2dcc9836298db7f6f718e5e32e0d3a6bfc604499",
6
  "size": 18251776
7
  },
8
  {
9
  "path": "draft/model.bin",
10
- "sha256": "044e489b0dfcd7e5111273595150d92b10bad3195a0715a4c51ac1809c6b902d",
11
  "size": 273137664
12
  },
13
  {
 
2
  "artifacts": [
3
  {
4
  "path": "draft/layer-0.bin",
5
+ "sha256": "b682ad79436b841bd00ed68e700ca04c9bacf35b80162808081246d69e051d8d",
6
  "size": 18251776
7
  },
8
  {
9
  "path": "draft/model.bin",
10
+ "sha256": "9686e355cd70b455c4eae9d242c450bff57a2ee5aae18196d7022e0ee7fe1fd7",
11
  "size": 273137664
12
  },
13
  {