zhyncs commited on
Commit
12fc8be
·
verified ·
1 Parent(s): 53fe7fa

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. README.md +44 -0
  2. config.json +38 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ ---
5
+ # sglang-EAGLE3-Qwen3-235B-A22B
6
+
7
+ ## Model Introduction
8
+ The Eagle3 draft model was trained using the [SpecForge](https://github.com/sgl-project/SpecForge) framework for the Qwen3-235B-A22B model, leveraging a combination of UltraChat and ShareGPT datasets.
9
+
10
+
11
+ ## Benchmark Results
12
+ gsm8k (200 questions)
13
+ Accuracy: 0.965
14
+ Invalid: 0.000
15
+ Latency: 234.996 s
16
+ Output throughput: 224.168 token/s
17
+ <b>Accept length: 3.538</b>
18
+
19
+ mtbench (80 questions)
20
+ Number of questions: 80
21
+ Output throughput: 241.5 token/s
22
+ <b>Accept length: 3.019</b>
23
+
24
+
25
+ ## Usage
26
+ You can use this Eagle3 draft model in [SGLang](https://github.com/sgl-project/sglang) with the following command:
27
+
28
+ ```bash
29
+ python3 -m sglang.launch_server \
30
+ --model <Qwen3-235B-A22B> \
31
+ --speculative-algorithm EAGLE3 \
32
+ --speculative-draft-model-path <EAGLE3-Qwen3-235B-A22B> \
33
+ --speculative-num-steps 5 \
34
+ --speculative-eagle-topk 8 \
35
+ --speculative-num-draft-tokens 32 \
36
+ --mem-fraction-static 0.75 \
37
+ --tp 8 \
38
+ --enable-ep-moe \
39
+ --context-length 8192 \
40
+ --trust-remote-code \
41
+ --host 0.0.0.0 \
42
+ --port 30000 \
43
+ --dtype bfloat16
44
+ ```
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlamaForCausalLMEagle3"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 151643,
8
+ "draft_vocab_size": 32000,
9
+ "eagle_config": {
10
+ "eagle_aux_hidden_state_layer_ids": [
11
+ 1,
12
+ 46,
13
+ 90
14
+ ],
15
+ "use_aux_hidden_state": true
16
+ },
17
+ "eos_token_id": 151645,
18
+ "head_dim": 128,
19
+ "hidden_act": "silu",
20
+ "hidden_size": 4096,
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 24576,
23
+ "max_position_embeddings": 40960,
24
+ "mlp_bias": false,
25
+ "model_type": "llama",
26
+ "num_attention_heads": 64,
27
+ "num_hidden_layers": 1,
28
+ "num_key_value_heads": 4,
29
+ "pretraining_tp": 1,
30
+ "rms_norm_eps": 1e-06,
31
+ "rope_scaling": null,
32
+ "rope_theta": 1000000.0,
33
+ "tie_word_embeddings": false,
34
+ "torch_dtype": "bfloat16",
35
+ "transformers_version": "4.53.2",
36
+ "use_cache": true,
37
+ "vocab_size": 151936
38
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c8158a7b35a0b51fbc2a569d7c15ad24f9c7f92ee80b874473abda7d2e1ce69
3
+ size 2429992936