Kreuzzelg commited on
Commit
233dd5b
·
verified ·
1 Parent(s): 172a2ff

Add files using upload-large-folder tool

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Kwaipilot/KAT-Coder-V2.5-Dev
4
+ tags:
5
+ - colibri
6
+ - kat-coder
7
+ - qwen3.6-35b-a3b
8
+ - moe
9
+ - int4
10
+ - gs64
11
+ - code
12
+ library_name: colibri
13
+ ---
14
+
15
+ # KAT-Coder-V2.5-Dev — colibri int4 **gs64** container (group-scaled)
16
+
17
+ [colibri](https://github.com/JustVugg/colibri) container for
18
+ [**Kwaipilot/KAT-Coder-V2.5-Dev**](https://huggingface.co/Kwaipilot/KAT-Coder-V2.5-Dev),
19
+ a coding model that shares the Qwen3.6-35B-A3B architecture (`qwen3_5_moe`,
20
+ 35B total / 3B active, 40 layers, 256 experts top-8, hybrid Gated Attention +
21
+ Gated DeltaNet). Experts are quantized to **group-scaled int4** (`expert_gs=64`,
22
+ one f32 scale per 64 input elements per row, ~22 GB), the higher-accuracy
23
+ variant of colibri's int4 format: on the sibling base model the same pipeline
24
+ cut first-token logit error by **~44 %** vs per-row scaling (see
25
+ [`qwen36-35b-a3b-colibri-i4-gs64`](https://huggingface.co/Kreuzzelg/qwen36-35b-a3b-colibri-i4-gs64)).
26
+ Self-contained: bundled `tokenizer.json`, flat `config.json`.
27
+
28
+ This runs a 35B-class coding MoE interactively on one or two 8 GB GPUs plus
29
+ ~30–40 GB RAM (see numbers below).
30
+
31
+ ## ⚠️ Two KAT-Coder-V2.5 versions exist — don't mix up the scores
32
+
33
+ Kwaipilot's paper evaluates the **commercial flagship** KAT-Coder-V2.5; the
34
+ open weights (and therefore this container) are **KAT-Coder-V2.5-Dev**, a
35
+ separate open release. Reported numbers differ substantially:
36
+
37
+ | | KAT-Coder-V2.5 (commercial flagship) | KAT-Coder-V2.5-Dev (open weights, this container) |
38
+ |---|---|---|
39
+ | Source | paper evaluation | HuggingFace open weights |
40
+ | Architecture | MoE (undisclosed) | MoE (`qwen3_5_moe`) |
41
+ | Parameters | undisclosed | 35B total / 3B active |
42
+ | Base model | undisclosed | Qwen3.6-35B-A3B |
43
+ | Modality | includes vision/multimodal | text-only |
44
+ | Context | unspecified | 262,144 tokens (YaRN up to ~1M) |
45
+ | License | commercial, closed | Apache 2.0 |
46
+ | SWE-Bench Pro | 65.2 | 45.96 |
47
+ | KAT Code Bench | 53.1 | 46.21 |
48
+ | PinchBench | 94.9 | 93.43 |
49
+ | Terminal-Bench 2.1 | 60.7 | 41.02 |
50
+ | SciCode | 50.3 | 44.20 |
51
+ | SWE-Bench Verified | not reported | 69.40 |
52
+ | SWE-Bench Multilingual | not reported | 63.00 |
53
+
54
+ (Scores as reported by Kwaipilot for the respective version.)
55
+
56
+ ## Which commits you need
57
+
58
+ The qwen36 engine is not merged upstream yet; pick the branch matching your
59
+ setup (all on [github.com/kreuzzelg/colibri](https://github.com/kreuzzelg/colibri)):
60
+
61
+ | Setup | Branch / commit | Upstream status |
62
+ |---|---|---|
63
+ | **CPU, gs64 (this container)** | [`gs64-ab`](https://github.com/kreuzzelg/colibri/tree/gs64-ab) (`2f9aab2`) — engine + group-scaled GEMV `matmul_q_gs` | engine submitted as [#712](https://github.com/JustVugg/colibri/pull/712) |
64
+ | **CUDA VRAM expert tier + gs64 (recommended, 1–2 GPUs)** | [`gs64-gpu`](https://github.com/kreuzzelg/colibri/tree/gs64-gpu) (`de5dde7`) = gs64 tier upload (`90450ec`) + upstream-dev backend incl. the async grouped-int4 fix | tier submitted as [#713](https://github.com/JustVugg/colibri/pull/713); backend fix as [#762](https://github.com/JustVugg/colibri/pull/762) |
65
+ | Per-row containers on the plain engine | [`upstream-pr1-qwen36-engine`](https://github.com/kreuzzelg/colibri/tree/upstream-pr1-qwen36-engine) (`16b945a`) | = #712 |
66
+
67
+ The backend fix **#762 is required for correct gs64 output on the GPU tier** —
68
+ without it the async decode path silently applies per-row scales to grouped
69
+ containers. Validated on this exact combination: CPU-vs-GPU-tier logits cosine
70
+ 1.0 over 24 greedy tokens, token-identical output.
71
+
72
+ ## Run it
73
+
74
+ ```bash
75
+ git clone -b gs64-gpu https://github.com/kreuzzelg/colibri && cd colibri/c
76
+ # GPU tier (CUDA):
77
+ nvcc -O3 -std=c++17 -arch=native -c backend_cuda.cu -o backend_cuda.o
78
+ gcc -O3 -march=x86-64-v3 -fopenmp -pthread qwen36.c qwen36_tier.c vulkan_gemv.c \
79
+ backend_cuda.o -o qwen36 -lm -lcudart -lstdc++
80
+
81
+ SNAP=$(python -c "from huggingface_hub import snapshot_download; \
82
+ print(snapshot_download('Kreuzzelg/kat-coder-v2.5-dev-colibri-i4-gs64'))")
83
+ printf 'Write a Python function that returns the n-th Fibonacci number using memoization.\n' > prompt.txt
84
+ SNAP=$SNAP N_NEW=300 COLI_CUDA=1 HEAT_FILE=heat.bin \
85
+ OMP_NUM_THREADS=<physical cores> OMP_WAIT_POLICY=ACTIVE OMP_PROC_BIND=close \
86
+ ./qwen36 256 4 prompt.txt
87
+ # CPU only: build from the gs64-ab branch with `make -C c qwen36` and drop COLI_CUDA.
88
+ ```
89
+
90
+ The engine reads `expert_gs` from `qwen36_meta.json` and picks the group-scaled
91
+ GEMV automatically. `HEAT_FILE` persists expert-routing heat: the second run
92
+ starts with the right experts in VRAM.
93
+
94
+ ## Measured (Threadripper PRO 3945WX 12C, RTX 3070 8 GB + Quadro RTX 4000 8 GB, 200-token decode)
95
+
96
+ | | 2×8 GB GPUs | 1×8 GB GPU (Quadro) |
97
+ |---|---|---|
98
+ | tok/s cold / warm | 10.4 / **11.3** | 9.3 / **10.4** |
99
+ | VRAM hit rate cold / warm | 75 % / 100 % | 39 % / 97 % |
100
+ | VRAM used | 13.2 GiB total | 6.6 GiB |
101
+ | peak RSS | 30 GB | 40 GB |
102
+ | TTFT (49-token prompt) | 1.9 s | 2.1 s |
103
+
104
+ Verified qualitatively: correct, clean Python (memoization, docstring, type
105
+ hints, edge cases) on the Fibonacci prompt; coherent 200-token continuations
106
+ under the benchmark prompt.
107
+
108
+ ## Caveats
109
+
110
+ - **Dev checkpoint:** for serious use, handle the chat template and EOS
111
+ yourself — in raw-completion mode the model keeps writing after the code.
112
+ - The 44 % accuracy A/B was measured on the sibling Qwen3.6-35B-A3B base with
113
+ the same converter/engine; no separate A/B was run for the KAT finetune.
114
+
115
+ ## Credits
116
+
117
+ - Model: [Kwaipilot/KAT-Coder-V2.5-Dev](https://huggingface.co/Kwaipilot/KAT-Coder-V2.5-Dev) (Apache-2.0), a finetune of [Qwen/Qwen3.6-35B-A3B](https://huggingface.co/Qwen/Qwen3.6-35B-A3B)
118
+ - colibri engine & concept: [JustVugg/colibri](https://github.com/JustVugg/colibri)
119
+ - Original qwen36 engine + converter: [@minne100](https://huggingface.co/minne100) ([PR #602](https://github.com/JustVugg/colibri/pull/602)); group-scaled quantization, CUDA VRAM tier and the grouped-int4 backend fix added on top.
config.hf.json ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen3_5MoeForConditionalGeneration"
4
+ ],
5
+ "image_token_id": 248056,
6
+ "model_type": "qwen3_5_moe",
7
+ "text_config": {
8
+ "attention_bias": false,
9
+ "attention_dropout": 0.0,
10
+ "attn_output_gate": true,
11
+ "bos_token_id": 248044,
12
+ "dtype": "bfloat16",
13
+ "eos_token_id": 248044,
14
+ "full_attention_interval": 4,
15
+ "head_dim": 256,
16
+ "hidden_act": "silu",
17
+ "hidden_size": 2048,
18
+ "initializer_range": 0.02,
19
+ "layer_types": [
20
+ "linear_attention",
21
+ "linear_attention",
22
+ "linear_attention",
23
+ "full_attention",
24
+ "linear_attention",
25
+ "linear_attention",
26
+ "linear_attention",
27
+ "full_attention",
28
+ "linear_attention",
29
+ "linear_attention",
30
+ "linear_attention",
31
+ "full_attention",
32
+ "linear_attention",
33
+ "linear_attention",
34
+ "linear_attention",
35
+ "full_attention",
36
+ "linear_attention",
37
+ "linear_attention",
38
+ "linear_attention",
39
+ "full_attention",
40
+ "linear_attention",
41
+ "linear_attention",
42
+ "linear_attention",
43
+ "full_attention",
44
+ "linear_attention",
45
+ "linear_attention",
46
+ "linear_attention",
47
+ "full_attention",
48
+ "linear_attention",
49
+ "linear_attention",
50
+ "linear_attention",
51
+ "full_attention",
52
+ "linear_attention",
53
+ "linear_attention",
54
+ "linear_attention",
55
+ "full_attention",
56
+ "linear_attention",
57
+ "linear_attention",
58
+ "linear_attention",
59
+ "full_attention"
60
+ ],
61
+ "linear_conv_kernel_dim": 4,
62
+ "linear_key_head_dim": 128,
63
+ "linear_num_key_heads": 16,
64
+ "linear_num_value_heads": 32,
65
+ "linear_value_head_dim": 128,
66
+ "mamba_ssm_dtype": "float32",
67
+ "max_position_embeddings": 262144,
68
+ "model_type": "qwen3_5_moe_text",
69
+ "moe_intermediate_size": 512,
70
+ "mtp_num_hidden_layers": 0,
71
+ "mtp_use_dedicated_embeddings": false,
72
+ "num_attention_heads": 16,
73
+ "num_experts": 256,
74
+ "num_experts_per_tok": 8,
75
+ "num_hidden_layers": 40,
76
+ "num_key_value_heads": 2,
77
+ "output_router_logits": false,
78
+ "pad_token_id": null,
79
+ "partial_rotary_factor": 0.25,
80
+ "rms_norm_eps": 1e-06,
81
+ "rope_parameters": {
82
+ "mrope_interleaved": true,
83
+ "mrope_section": [
84
+ 11,
85
+ 11,
86
+ 10
87
+ ],
88
+ "partial_rotary_factor": 0.25,
89
+ "rope_theta": 10000000,
90
+ "rope_type": "default"
91
+ },
92
+ "router_aux_loss_coef": 0.001,
93
+ "shared_expert_intermediate_size": 512,
94
+ "tie_word_embeddings": false,
95
+ "use_cache": true,
96
+ "vocab_size": 248320
97
+ },
98
+ "tie_word_embeddings": false,
99
+ "transformers_version": "4.57.1",
100
+ "video_token_id": 248057,
101
+ "vision_config": {
102
+ "deepstack_visual_indexes": [],
103
+ "depth": 27,
104
+ "hidden_act": "gelu_pytorch_tanh",
105
+ "hidden_size": 1152,
106
+ "in_channels": 3,
107
+ "initializer_range": 0.02,
108
+ "intermediate_size": 4304,
109
+ "model_type": "qwen3_5_moe",
110
+ "num_heads": 16,
111
+ "num_position_embeddings": 2304,
112
+ "out_hidden_size": 2048,
113
+ "patch_size": 16,
114
+ "spatial_merge_size": 2,
115
+ "temporal_patch_size": 2
116
+ },
117
+ "vision_end_token_id": 248054,
118
+ "vision_start_token_id": 248053
119
+ }
config.json ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "attention_bias": false,
3
+ "attention_dropout": 0.0,
4
+ "attn_output_gate": true,
5
+ "bos_token_id": 248044,
6
+ "dtype": "bfloat16",
7
+ "eos_token_id": 248044,
8
+ "full_attention_interval": 4,
9
+ "head_dim": 256,
10
+ "hidden_act": "silu",
11
+ "hidden_size": 2048,
12
+ "initializer_range": 0.02,
13
+ "layer_types": [
14
+ "linear_attention",
15
+ "linear_attention",
16
+ "linear_attention",
17
+ "full_attention",
18
+ "linear_attention",
19
+ "linear_attention",
20
+ "linear_attention",
21
+ "full_attention",
22
+ "linear_attention",
23
+ "linear_attention",
24
+ "linear_attention",
25
+ "full_attention",
26
+ "linear_attention",
27
+ "linear_attention",
28
+ "linear_attention",
29
+ "full_attention",
30
+ "linear_attention",
31
+ "linear_attention",
32
+ "linear_attention",
33
+ "full_attention",
34
+ "linear_attention",
35
+ "linear_attention",
36
+ "linear_attention",
37
+ "full_attention",
38
+ "linear_attention",
39
+ "linear_attention",
40
+ "linear_attention",
41
+ "full_attention",
42
+ "linear_attention",
43
+ "linear_attention",
44
+ "linear_attention",
45
+ "full_attention",
46
+ "linear_attention",
47
+ "linear_attention",
48
+ "linear_attention",
49
+ "full_attention",
50
+ "linear_attention",
51
+ "linear_attention",
52
+ "linear_attention",
53
+ "full_attention"
54
+ ],
55
+ "linear_conv_kernel_dim": 4,
56
+ "linear_key_head_dim": 128,
57
+ "linear_num_key_heads": 16,
58
+ "linear_num_value_heads": 32,
59
+ "linear_value_head_dim": 128,
60
+ "mamba_ssm_dtype": "float32",
61
+ "max_position_embeddings": 262144,
62
+ "model_type": "qwen3_5_moe_text",
63
+ "moe_intermediate_size": 512,
64
+ "mtp_num_hidden_layers": 0,
65
+ "mtp_use_dedicated_embeddings": false,
66
+ "num_attention_heads": 16,
67
+ "num_experts": 256,
68
+ "num_experts_per_tok": 8,
69
+ "num_hidden_layers": 40,
70
+ "num_key_value_heads": 2,
71
+ "output_router_logits": false,
72
+ "pad_token_id": null,
73
+ "partial_rotary_factor": 0.25,
74
+ "rms_norm_eps": 1e-06,
75
+ "rope_parameters": {
76
+ "mrope_interleaved": true,
77
+ "mrope_section": [
78
+ 11,
79
+ 11,
80
+ 10
81
+ ],
82
+ "partial_rotary_factor": 0.25,
83
+ "rope_theta": 10000000,
84
+ "rope_type": "default"
85
+ },
86
+ "router_aux_loss_coef": 0.001,
87
+ "shared_expert_intermediate_size": 512,
88
+ "tie_word_embeddings": false,
89
+ "use_cache": true,
90
+ "vocab_size": 248320
91
+ }
model-00000.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d07f15637a9efcd78be0c310df53fd07e1f71b6e4004096bb7c0286f7b3b0b9
3
+ size 527831896
model-00001.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2dccde923e63ad00ed4b2b95afa462dab0daea6bceb755119a32590cea1ee59
3
+ size 527831896
model-00002.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b02dc5c8d787225bb1437ffebd2033a6f89739d4cc99a9d2253bdc81993da0d
3
+ size 527831896
model-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e314ce0090ae636817e98e25c54096285fecc4174949dceb64961fe39fcb1d05
3
+ size 514921584
model-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ef270056016186336c1ea1dcaf07903dc10a2aab9ffc0aef151390f599592539
3
+ size 527831896
model-00005.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8e7797ae3a8803e4e1c1326f6f3b02f376dad69494fc52518720ddad118bf83
3
+ size 527831896
model-00006.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61b44f61faca5abdede78098463bd62301054499225a8f205142537dddcc8eb8
3
+ size 527831896
model-00007.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3457957a2797d85717138f8b336301f5f64e2609d86e15ac6f7d0126d2fdbdce
3
+ size 514921584
model-00008.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45aa6626f41f42b342ea2f069d8a4208bb57a7622992959687d49701cddf25cb
3
+ size 527831896
model-00009.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15b29be78ca2b7a0412d7416d91b49a30a06a5a1b0a47bc4e65781797b85d2b0
3
+ size 527831896
model-00010.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d540236b1a72249696ccd0831f060b6c539c21ba80fa17caed5fcd12dfa7e69
3
+ size 527832424
model-00011.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:471c3caee7080c717ea6191db2f297eb533cb3c71f951cbee22cb0156083492a
3
+ size 514922112
model-00012.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50b4d81e7a6e4697840e44875e362d14b50b2a23e7a2afd16d4848ba1bf48e80
3
+ size 527832424
model-00013.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b311c0e910158a89a4d837b0e8fc1acdf34ddf7bbe0827b42efe679ca33d3c1
3
+ size 527832424
model-00014.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:87ae031ac9d08261f1279bf4989c22f48e6029df79ce5228bbb10ed92f72fe21
3
+ size 527832424
model-00015.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23a7e44bf3f4968feb99122c9bb8b988e1017ca9dc90c968250225a89086987b
3
+ size 514922112
model-00016.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44f8c62ddb255b3edd75e97978ca1bc905fbd2fc8ccdd4e72ec83d41f19d18a9
3
+ size 527832424
model-00017.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a7403f4fe20c880360bbfef72873ed5094d0870312c1efbcafc5db3ecc43708
3
+ size 527832424
model-00018.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b473fe9d19447c40bbf2d30df9ec9855d3aa8faa1d3165f90a5d1bb00be3a625
3
+ size 527832424
model-00019.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b931b6ea90517130f57a893d893b97d59655918fe33453b2e1b542a02600ddaf
3
+ size 514922112
model-00020.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0db48fd3902850ee723928122057582125bf6362fcd85c8f107d579f9681fc12
3
+ size 527832424
model-00021.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b787b919b17e4ff827e49b5ffc77b639d99b2fe18d1ea555df1636738a07c75
3
+ size 527832424
model-00022.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95162a7fb80ab2efffdaed06dae2b974dcb713c8a0ad1e9043145e56b34562a7
3
+ size 527832424
model-00023.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46df91b0421b214d7710f8a171c1194d976da731b887b1a01811fe023de7cf1c
3
+ size 514922112
model-00024.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f30691a1703665074ec096db56eb85a03a25a03f745e3684b4055b4da67364cd
3
+ size 527832424
model-00025.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:960eff38e1448dd43e1c19fec2c110a78b3916acee0a617e1759d3f3e30f7be2
3
+ size 527832424
model-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0674a4c897e78176c9cc5acb21b1e920d6414f213e693d9313be6c9aabf3937b
3
+ size 527832424
model-00027.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b97c96416db7b8de1b47cb8712b9c552ef9cc94e7f6c0587855f7bfe6d1f80ec
3
+ size 514922112
model-00028.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b8d7d953102f2d122f67b31bbbff91659373ffcb49aa63b4dbccfb5bb18bb15
3
+ size 527832424
model-00029.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5965d5b79ab2ff13a2ecff677c789709f42d45261c774295627c4ea93d38d6f
3
+ size 527832424
model-00030.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:281198cb453370c15c3beda8bc8dbf2a672e2e668f70924050a99b2c01beda1d
3
+ size 527832424
model-00031.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ec09280f7051647ddcfe029ac4cbcf419310ddfce8b53907b3d66971623ca91
3
+ size 514922112
model-00032.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efa09875392b994cc0f4d343e5f03d1d392fe9cc1b4f5ccf68bbddad4249cde1
3
+ size 527832424
model-00033.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:27cde38fff534aef07710b7754096fb053e12286c79939d5fc4e25bad26bd0cc
3
+ size 527832424
model-00034.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:713732a554d1e7dda7c4614f5ecd678f1d0766c083f1e5dabf71e134c7572671
3
+ size 527832424
model-00035.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44da6d9ce691b7e6893c946d77cf875bca84d5d6f0da4fb7a497cdbf22c0d4a1
3
+ size 514922112
model-00036.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cc9e5dc92893b454142c3728ba3cbc7cdf79fb4f0aca9828128b565eca0a913
3
+ size 527832424
model-00037.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a1c858e882bb09d6ea1294ad1a1767ec3b95096b530ba3d4c2425f6e935ddd7
3
+ size 527832424
model-00038.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e70a8bad77ef93b1676868a61876e1eb7161163628e053c709a01d5929c6b254
3
+ size 527832424
model-00039.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c33f647a3511c676210d7cc5fa08e2e80402bcbe824dda7ce92705c8dd8e42af
3
+ size 514922112
model-globals.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78d4d8b57ffb78be6a890469f4238d3a6a8a3b9b6c1aae9582a391ff23818c22
3
+ size 2034241832
qwen36_meta.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "qwen3_5_moe",
3
+ "hidden": 2048,
4
+ "n_layers": 40,
5
+ "n_active": 40,
6
+ "layer_types": [
7
+ "linear_attention",
8
+ "linear_attention",
9
+ "linear_attention",
10
+ "full_attention",
11
+ "linear_attention",
12
+ "linear_attention",
13
+ "linear_attention",
14
+ "full_attention",
15
+ "linear_attention",
16
+ "linear_attention",
17
+ "linear_attention",
18
+ "full_attention",
19
+ "linear_attention",
20
+ "linear_attention",
21
+ "linear_attention",
22
+ "full_attention",
23
+ "linear_attention",
24
+ "linear_attention",
25
+ "linear_attention",
26
+ "full_attention",
27
+ "linear_attention",
28
+ "linear_attention",
29
+ "linear_attention",
30
+ "full_attention",
31
+ "linear_attention",
32
+ "linear_attention",
33
+ "linear_attention",
34
+ "full_attention",
35
+ "linear_attention",
36
+ "linear_attention",
37
+ "linear_attention",
38
+ "full_attention",
39
+ "linear_attention",
40
+ "linear_attention",
41
+ "linear_attention",
42
+ "full_attention",
43
+ "linear_attention",
44
+ "linear_attention",
45
+ "linear_attention",
46
+ "full_attention"
47
+ ],
48
+ "num_experts": 256,
49
+ "topk": 8,
50
+ "moe_inter": 512,
51
+ "shared_inter": 512,
52
+ "rms_eps": 1e-06,
53
+ "ebits": 4,
54
+ "scoring_func": "softmax",
55
+ "n_group": 1,
56
+ "topk_group": 1,
57
+ "norm_topk_prob": false,
58
+ "attn_output_gate": true,
59
+ "rope_theta": 10000000.0,
60
+ "mrope_section": [
61
+ 11,
62
+ 11,
63
+ 10
64
+ ],
65
+ "partial_rotary_factor": 0.25,
66
+ "q_heads": 16,
67
+ "kv_heads": 2,
68
+ "q_head_dim": 512,
69
+ "k_head_dim": 256,
70
+ "v_head_dim": 256,
71
+ "o_in": 4096,
72
+ "qk_rope_head_dim": 256,
73
+ "expert_gs": 64,
74
+ "head_dim": 256,
75
+ "rope_dim": 256,
76
+ "dn_vheads": 32,
77
+ "dn_kheads": 16,
78
+ "dn_kdim": 128,
79
+ "dn_vdim": 128,
80
+ "dn_convk": 4,
81
+ "dn_conv_dim": 8192
82
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f9e4d4901a92b997e463c1f46055088b6cca5ca61a6522d1b9f64c4bb81cb42
3
+ size 12807982