Aman0runanywhere commited on
Commit
8d12640
·
verified ·
1 Parent(s): 2fbc78b

Add chat template block (runtime-owned chat templating)

Browse files
Files changed (1) hide show
  1. v81/phimoe.json +76 -28
v81/phimoe.json CHANGED
@@ -1,28 +1,76 @@
1
- {
2
- "schema_version": 1,
3
- "_comment": "phi-tiny-moe - Qualcomm Hexagon v81 (QHexRT) deployment manifest.",
4
- "model": { "name": "phi-tiny-moe", "family": "llm", "dsp_arch": "v81", "tokenizer_pre": "default" },
5
- "params": {
6
- "hidden": 4096, "vocab": 32064, "n_layers": 32, "max_ctx": 2048,
7
- "kv_dim": 512, "head_dim": 128, "rope_theta": 10000, "eos_token_id": 32000
8
- },
9
- "artifacts": {
10
- "contexts": {
11
- "a_lo": { "bin": "a_lo.bin" },
12
- "a_hi": { "bin": "a_hi.bin" },
13
- "ffn": { "bin": "ffn2.bin" },
14
- "lmhead": { "bin": "lmhead_ar1.bin" }
15
- },
16
- "embed": "embed_f16.bin",
17
- "tokenizer": "tokenizer.json",
18
- "fixture_dir": "."
19
- },
20
- "plan": {
21
- "steps": [
22
- { "host": "phimoe_generate",
23
- "params": { "experts": "experts_i8.bin", "scales": "experts_scale.f32",
24
- "n_experts": 16, "ffn": 448, "jitter": 0.01, "neg": -50,
25
- "user_id": 32010, "end_id": 32007, "assistant_id": 32001, "max_new": 24 } }
26
- ]
27
- }
28
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "_comment": "phi-tiny-moe - Qualcomm Hexagon v81 (QHexRT) deployment manifest.",
4
+ "model": {
5
+ "name": "phi-tiny-moe",
6
+ "family": "llm",
7
+ "dsp_arch": "v81",
8
+ "tokenizer_pre": "default"
9
+ },
10
+ "chat": {
11
+ "user": {
12
+ "prefix": [
13
+ 32010
14
+ ],
15
+ "suffix": [
16
+ 32007
17
+ ]
18
+ },
19
+ "assistant": {
20
+ "prefix": [
21
+ 32001
22
+ ],
23
+ "suffix": [
24
+ 32007
25
+ ]
26
+ }
27
+ },
28
+ "params": {
29
+ "hidden": 4096,
30
+ "vocab": 32064,
31
+ "n_layers": 32,
32
+ "max_ctx": 2048,
33
+ "kv_dim": 512,
34
+ "head_dim": 128,
35
+ "rope_theta": 10000,
36
+ "eos_token_id": 32000
37
+ },
38
+ "artifacts": {
39
+ "contexts": {
40
+ "a_lo": {
41
+ "bin": "a_lo.bin"
42
+ },
43
+ "a_hi": {
44
+ "bin": "a_hi.bin"
45
+ },
46
+ "ffn": {
47
+ "bin": "ffn2.bin"
48
+ },
49
+ "lmhead": {
50
+ "bin": "lmhead_ar1.bin"
51
+ }
52
+ },
53
+ "embed": "embed_f16.bin",
54
+ "tokenizer": "tokenizer.json",
55
+ "fixture_dir": "."
56
+ },
57
+ "plan": {
58
+ "steps": [
59
+ {
60
+ "host": "phimoe_generate",
61
+ "params": {
62
+ "experts": "experts_i8.bin",
63
+ "scales": "experts_scale.f32",
64
+ "n_experts": 16,
65
+ "ffn": 448,
66
+ "jitter": 0.01,
67
+ "neg": -50,
68
+ "user_id": 32010,
69
+ "end_id": 32007,
70
+ "assistant_id": 32001,
71
+ "max_new": 24
72
+ }
73
+ }
74
+ ]
75
+ }
76
+ }