vaishaalli commited on
Commit
d4e900f
路
verified 路
1 Parent(s): c71dda6

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +38 -0
README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: en
3
+ license: apache-2.0
4
+ base_model: Qwen/Qwen2.5-Coder-0.5B-Instruct
5
+ tags:
6
+ - speculative-decoding
7
+ - draft-model
8
+ - distillation
9
+ - tool-calling
10
+ ---
11
+
12
+ # Stage-1 KD draft (xLAM contexts)
13
+
14
+ A **draft model for speculative decoding** against the frozen target
15
+ **Qwen/Qwen2.5-Coder-14B-Instruct** (vLLM speculative decoding with
16
+ `method=draft_model`), produced by Stage-1 supervised knowledge distillation. Full project, training
17
+ scripts, and the complete acceptance / wall-clock / exactness evaluation:
18
+ [Speculative_Decoding](https://github.com/vaishaalli224/Speculative_Decoding).
19
+
20
+ Qwen2.5-Coder-0.5B-Instruct distilled via supervised KD (top-20 logprobs, KL + 0.1路CE) on the Qwen2.5-Coder-14B-Instruct target s own greedy generations over 5k xLAM function-calling contexts. Stage-1 draft from the Speculative_Decoding project.
21
+
22
+ ## Measured (k=5, greedy, 100 frozen prompts, instrumented HF loop)
23
+
24
+ | eval | tau | alpha | exactness vs AR |
25
+ |---|---|---|---|
26
+ | xLAM-500 | 4.01 | 0.942 | 49/50 token-identical |
27
+ | TB-500 (held-out tools) | 2.65 | 0.812 | 49/50 token-identical |
28
+
29
+ Outputs are **token-identical** to plain greedy decoding of the target in
30
+ the HF instrumented loop (exactness gates; the vLLM bf16 near-tie caveat
31
+ is documented in the repo README). The vocabulary is zero-padded to
32
+ 152,064 rows to satisfy vLLM s SpeculativeConfig same-vocab-size
33
+ requirement; no real token id lives in the padding band, and the padding
34
+ is gated on greedy parity (see `src/serving/prepare_draft.py`).
35
+
36
+ Benchmark context: vLLM 0.30.0, target bf16, k=5, batch 1. This model
37
+ is a research artifact from a 1-day H100 study; no safety fine-tuning
38
+ was performed (the base model s policies apply).