Views
No views yet
JackFram/llama-68m (68M parameters, fp32) for use as a drafter alongside the NousResearch/Yarn-Llama-2-7b-128k verifier under a sparse drafter-side KV cache.| Subfolder | Variant | Training loss | Use in paper |
|---|---|---|---|
main/ | A + 0.5·C (multi-view, λ=0.5) | full-cache + sparse-cache | main checkpoint reported in Table 1 / Fig 3 |
aonly/ | A only | full-cache only (no sparse branch) | ablation: without the sparse-cache loss |
ac/ | A + C (λ=1.0) | full-cache + sparse-cache | λ-sensitivity ablation |
config.json, model.safetensors, tokenizer files) — load with AutoModelForCausalLM.from_pretrained(...).1# Whole repo (~786 MB):
2hf download qwe123wjb/BudgetDraft-checkpoints --local-dir ./ckpts
3
4# Just the main checkpoint:
5hf download qwe123wjb/BudgetDraft-checkpoints --include "main/*" --local-dir ./ckpts1git clone https://github.com/ANTI-Tony/BudgetDraft.git
2cd BudgetDraft
3pip install -r requirements.txt
4
5hf download qwe123wjb/BudgetDraft-checkpoints --local-dir ./ckpts
6make eval-from-release CHECKPOINTS=./ckpts1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3drafter = AutoModelForCausalLM.from_pretrained(
4 "qwe123wjb/BudgetDraft-checkpoints",
5 subfolder="main",
6 torch_dtype="float32",
7)
8tokenizer = AutoTokenizer.from_pretrained(
9 "qwe123wjb/BudgetDraft-checkpoints",
10 subfolder="main",
11)1verifier = AutoModelForCausalLM.from_pretrained(
2 "NousResearch/Yarn-Llama-2-7b-128k",
3 torch_dtype="float16",
4)