sanmonga22 Aman0runanywhere commited on
Commit
4e34d2f
·
1 Parent(s): 421dbe0

Add generic chat block to v79 manifest (template-as-data) (#4)

Browse files

- Add generic chat block to v79 manifest (template-as-data) (76bd75a82f6cd9b68791fbb8837b941a7a0594e3)


Co-authored-by: Aman <Aman0runanywhere@users.noreply.huggingface.co>

Files changed (1) hide show
  1. v79/qwen3.5-0.8b-1024.json +75 -61
v79/qwen3.5-0.8b-1024.json CHANGED
@@ -1,65 +1,79 @@
1
  {
2
- "schema_version": 1,
3
- "_comment": "Qwen3.5 (qwen3_5) GatedDeltaNet hybrid TEXT decoder for v81. Most layers are a recurrent gated delta-rule linear attention (+ short conv state), 1-in-4 is gated softmax attention (partial-rotary M-RoPE, output gate). Decode-over-prompt seed; W8 decode (~0.5GB, single context, under the 2GB model-lib limit) + fp16 lm-head, under a tolerant greedy_tol gate (W8 weights only \u2014 the fp32 SSM scan + host conv/SSM/KV state are untouched). Vision tower + MTP not exported (text-LLM path).",
4
- "model": {
5
- "name": "qwen3.5-0.8b-1024",
6
- "family": "llm",
7
- "dsp_arch": "v79",
8
- "tokenizer_pre": "qwen2"
 
 
 
 
 
9
  },
10
- "params": {
11
- "hidden": 1024,
12
- "vocab": 248320,
13
- "n_layers": 24,
14
- "max_ctx": 1024,
15
- "kv_dim": 512,
16
- "head_dim": 256,
17
- "rope_theta": 10000000.0,
18
- "eos_token_id": 248044,
19
- "gated_delta": {
20
- "q_heads": 8,
21
- "kv_heads": 2,
22
- "lin_k_heads": 16,
23
- "lin_v_heads": 16,
24
- "lin_k_dim": 128,
25
- "lin_v_dim": 128,
26
- "conv_kernel": 4,
27
- "full_every": 4,
28
- "rot_dim": 64,
29
- "attn_gate": true,
30
- "full_attn_idx": [
31
- 3,
32
- 7,
33
- 11,
34
- 15,
35
- 19,
36
- 23
37
- ]
38
- }
39
- },
40
- "artifacts": {
41
- "contexts": {
42
- "decode": {
43
- "bin": "qwen3508b_decode_w8.bin"
44
- },
45
- "lmhead": {
46
- "bin": "qwen3508b_lmhead_f16.bin"
47
- }
48
- },
49
- "embed": "qwen3508b_embed_f16.bin",
50
- "tokenizer": "tokenizer.json"
51
  },
52
- "plan": {
53
- "steps": [
54
- {
55
- "host": "qwen3_5_generate",
56
- "params": {
57
- "decode": "qwen3508b_decode_w8",
58
- "lmhead": "qwen3508b_lmhead_f16",
59
- "max_new": 64,
60
- "neg": -50000
61
- }
62
- }
63
- ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  }
65
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  {
2
+ "schema_version": 1,
3
+ "_comment": "Qwen3.5 (qwen3_5) GatedDeltaNet hybrid TEXT decoder for v81. Most layers are a recurrent gated delta-rule linear attention (+ short conv state), 1-in-4 is gated softmax attention (partial-rotary M-RoPE, output gate). Decode-over-prompt seed; W8 decode (~0.5GB, single context, under the 2GB model-lib limit) + fp16 lm-head, under a tolerant greedy_tol gate (W8 weights only the fp32 SSM scan + host conv/SSM/KV state are untouched). Vision tower + MTP not exported (text-LLM path).",
4
+ "model": {
5
+ "name": "qwen3.5-0.8b-1024",
6
+ "family": "llm",
7
+ "dsp_arch": "v79",
8
+ "tokenizer_pre": "qwen2"
9
+ },
10
+ "chat": {
11
+ "system": {
12
+ "prefix": "<|im_start|>system\n",
13
+ "suffix": "<|im_end|>\n"
14
  },
15
+ "user": {
16
+ "prefix": "<|im_start|>user\n",
17
+ "suffix": "<|im_end|>\n"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  },
19
+ "assistant": {
20
+ "prefix": "<|im_start|>assistant\n",
21
+ "suffix": "<|im_end|>\n"
22
+ }
23
+ },
24
+ "params": {
25
+ "hidden": 1024,
26
+ "vocab": 248320,
27
+ "n_layers": 24,
28
+ "max_ctx": 1024,
29
+ "kv_dim": 512,
30
+ "head_dim": 256,
31
+ "rope_theta": 10000000.0,
32
+ "eos_token_id": 248044,
33
+ "gated_delta": {
34
+ "q_heads": 8,
35
+ "kv_heads": 2,
36
+ "lin_k_heads": 16,
37
+ "lin_v_heads": 16,
38
+ "lin_k_dim": 128,
39
+ "lin_v_dim": 128,
40
+ "conv_kernel": 4,
41
+ "full_every": 4,
42
+ "rot_dim": 64,
43
+ "attn_gate": true,
44
+ "full_attn_idx": [
45
+ 3,
46
+ 7,
47
+ 11,
48
+ 15,
49
+ 19,
50
+ 23
51
+ ]
52
  }
53
+ },
54
+ "artifacts": {
55
+ "contexts": {
56
+ "decode": {
57
+ "bin": "qwen3508b_decode_w8.bin"
58
+ },
59
+ "lmhead": {
60
+ "bin": "qwen3508b_lmhead_f16.bin"
61
+ }
62
+ },
63
+ "embed": "qwen3508b_embed_f16.bin",
64
+ "tokenizer": "tokenizer.json"
65
+ },
66
+ "plan": {
67
+ "steps": [
68
+ {
69
+ "host": "qwen3_5_generate",
70
+ "params": {
71
+ "decode": "qwen3508b_decode_w8",
72
+ "lmhead": "qwen3508b_lmhead_f16",
73
+ "max_new": 64,
74
+ "neg": -50000
75
+ }
76
+ }
77
+ ]
78
+ }
79
+ }