Downloads · 30 days
7
3% of all-time downloads
NickL77/BaldEagle-Qwen-2.5-7B-Instruct
BaldEagle-Qwen-2.5-7B-Instruct is a machine learning model from NickL77. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Eagle Speculative Decoding Model Trained with BaldEagle
Downloads · 30 days
7
3% of all-time downloads
All-time downloads
228
Public
Parameters
754M
1.9 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors1.9 GB · 100%
How the weights are stored.
BF16545M · 72%
From the Hugging Face model README
Eagle Speculative Decoding Model Trained with BaldEagle
BaldEagle Repo: https://github.com/NickL77/BaldEagle/
Learn how the model was trained: https://frugalgpu.substack.com/p/how-to-train-your-own-eagle-speculative
Achieves 2.06x speed up (50.43 tok/s -> 106.22 tok/s) on Qwen2.5-7B-Instruct. Better than sglang reported improvements (1.54x) with EAGLE 2.
python3 -m sglang.launch_server \
--model Qwen/Qwen2.5-7B-Instruct \
--speculative-algo EAGLE \
--speculative-draft NickL77/BaldEagle-Qwen-2.5-7B-Instruct \
--speculative-num-steps 5 \
--speculative-eagle-topk 8 \
--speculative-num-draft-tokens 64 \
--dtype bfloat16 \
--port 30000 \
--mem-fraction-static 0.65
python3 bench_sglang_eagle_double_turn.py --questions 50 --parallel 1
Output:
#questions: 50, Throughput: 106.22 token/s, Acceptance length: 3.55
runtime: 6 min 17 sec
python3 -m sglang.launch_server \
--model Qwen/Qwen2.5-7B-Instruct \
--dtype bfloat16 \
--port 30000 \
--mem-fraction-static 0.65
python3 bench_sglang_eagle_double_turn.py --questions 50 --parallel 1
Output:
#questions: 50, Throughput: 50.43 token/s, Acceptance length: 1.00
runtime: 12 min 57 sec
Note: We're benchmarking on 50 questions out of 80 due to an SGLang issue when running speculative decoding for long periods: https://github.com/sgl-project/sglang/issues/6309