Text Generation
Transformers
Safetensors
English
Chinese
llama
specforge
eagle3
speculative-decoding
draft-model
qwen3
sharegpt
sliding-window
mha
text-generation-inference
Instructions to use huluhuluu/qwen3-1p7b-eagle3-k2-sw256-mha-sharegpt-epoch-9-step-171560 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use huluhuluu/qwen3-1p7b-eagle3-k2-sw256-mha-sharegpt-epoch-9-step-171560 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="huluhuluu/qwen3-1p7b-eagle3-k2-sw256-mha-sharegpt-epoch-9-step-171560")# Load model directly from transformers import AutoTokenizer, LlamaForCausalLMEagle3 tokenizer = AutoTokenizer.from_pretrained("huluhuluu/qwen3-1p7b-eagle3-k2-sw256-mha-sharegpt-epoch-9-step-171560") model = LlamaForCausalLMEagle3.from_pretrained("huluhuluu/qwen3-1p7b-eagle3-k2-sw256-mha-sharegpt-epoch-9-step-171560", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use huluhuluu/qwen3-1p7b-eagle3-k2-sw256-mha-sharegpt-epoch-9-step-171560 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "huluhuluu/qwen3-1p7b-eagle3-k2-sw256-mha-sharegpt-epoch-9-step-171560" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huluhuluu/qwen3-1p7b-eagle3-k2-sw256-mha-sharegpt-epoch-9-step-171560", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/huluhuluu/qwen3-1p7b-eagle3-k2-sw256-mha-sharegpt-epoch-9-step-171560
- SGLang
How to use huluhuluu/qwen3-1p7b-eagle3-k2-sw256-mha-sharegpt-epoch-9-step-171560 with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "huluhuluu/qwen3-1p7b-eagle3-k2-sw256-mha-sharegpt-epoch-9-step-171560" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huluhuluu/qwen3-1p7b-eagle3-k2-sw256-mha-sharegpt-epoch-9-step-171560", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "huluhuluu/qwen3-1p7b-eagle3-k2-sw256-mha-sharegpt-epoch-9-step-171560" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "huluhuluu/qwen3-1p7b-eagle3-k2-sw256-mha-sharegpt-epoch-9-step-171560", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use huluhuluu/qwen3-1p7b-eagle3-k2-sw256-mha-sharegpt-epoch-9-step-171560 with Docker Model Runner:
docker model run hf.co/huluhuluu/qwen3-1p7b-eagle3-k2-sw256-mha-sharegpt-epoch-9-step-171560
Document training parameters
Browse files
README.md
CHANGED
|
@@ -18,9 +18,9 @@ base_model:
|
|
| 18 |
- Qwen/Qwen3-1.7B
|
| 19 |
---
|
| 20 |
|
| 21 |
-
# Qwen3
|
| 22 |
|
| 23 |
-
This repository contains
|
| 24 |
It is a draft model for speculative decoding, not a standalone target language model.
|
| 25 |
|
| 26 |
## Checkpoint
|
|
@@ -31,16 +31,16 @@ It is a draft model for speculative decoding, not a standalone target language m
|
|
| 31 |
| Checkpoint | `epoch_9_step_171560` |
|
| 32 |
| Epoch | `9` |
|
| 33 |
| Global step | `171560` |
|
| 34 |
-
| Files | `config.json`, `model.safetensors`, `training_state.pt` |
|
| 35 |
|
| 36 |
## Training Parameters
|
| 37 |
|
| 38 |
| Parameter | Value |
|
| 39 |
|---|---|
|
| 40 |
| Base model | `Qwen/Qwen3-1.7B` |
|
| 41 |
-
| Method | SpecForge EAGLE3 online training |
|
| 42 |
-
|
|
| 43 |
-
| Learning rate | `
|
| 44 |
| Batch size | `1` |
|
| 45 |
| Target batch size | `1` |
|
| 46 |
| Epochs configured | `10` |
|
|
@@ -48,6 +48,7 @@ It is a draft model for speculative decoding, not a standalone target language m
|
|
| 48 |
| Warmup ratio | `0.015` |
|
| 49 |
| Max grad norm | `0.5` |
|
| 50 |
| TTT length | `5` |
|
|
|
|
| 51 |
| Draft sliding window | `256` |
|
| 52 |
| Save interval | `5000` |
|
| 53 |
| Eval interval | `5000` |
|
|
@@ -74,10 +75,11 @@ It is a draft model for speculative decoding, not a standalone target language m
|
|
| 74 |
| Max position embeddings | `40960` |
|
| 75 |
| Sliding window | `256` |
|
| 76 |
| Max window layers | `2` |
|
|
|
|
| 77 |
|
| 78 |
## Notes
|
| 79 |
|
| 80 |
-
- This is the
|
| 81 |
- The checkpoint is intended to be loaded by SpecForge/EAGLE3-compatible code.
|
| 82 |
-
- `training_state.pt` is included for provenance and training-state inspection.
|
| 83 |
- No benchmark claim is made in this card.
|
|
|
|
| 18 |
- Qwen/Qwen3-1.7B
|
| 19 |
---
|
| 20 |
|
| 21 |
+
# Qwen3 1.7B EAGLE3 K2 SW256 MHA ShareGPT
|
| 22 |
|
| 23 |
+
This repository contains a SpecForge EAGLE3 draft-model checkpoint for use with `Qwen/Qwen3-1.7B`.
|
| 24 |
It is a draft model for speculative decoding, not a standalone target language model.
|
| 25 |
|
| 26 |
## Checkpoint
|
|
|
|
| 31 |
| Checkpoint | `epoch_9_step_171560` |
|
| 32 |
| Epoch | `9` |
|
| 33 |
| Global step | `171560` |
|
| 34 |
+
| Files | `config.json`, `model.safetensors`, `training_state.pt` (when present) |
|
| 35 |
|
| 36 |
## Training Parameters
|
| 37 |
|
| 38 |
| Parameter | Value |
|
| 39 |
|---|---|
|
| 40 |
| Base model | `Qwen/Qwen3-1.7B` |
|
| 41 |
+
| Method | `SpecForge EAGLE3 online training` |
|
| 42 |
+
| Training data | `sharegpt_train.jsonl` |
|
| 43 |
+
| Learning rate | `0.0001` |
|
| 44 |
| Batch size | `1` |
|
| 45 |
| Target batch size | `1` |
|
| 46 |
| Epochs configured | `10` |
|
|
|
|
| 48 |
| Warmup ratio | `0.015` |
|
| 49 |
| Max grad norm | `0.5` |
|
| 50 |
| TTT length | `5` |
|
| 51 |
+
| Draft layers | `2` |
|
| 52 |
| Draft sliding window | `256` |
|
| 53 |
| Save interval | `5000` |
|
| 54 |
| Eval interval | `5000` |
|
|
|
|
| 75 |
| Max position embeddings | `40960` |
|
| 76 |
| Sliding window | `256` |
|
| 77 |
| Max window layers | `2` |
|
| 78 |
+
| Future hidden | `Not recorded` |
|
| 79 |
|
| 80 |
## Notes
|
| 81 |
|
| 82 |
+
- This is the highest-step local checkpoint available when this repository was published.
|
| 83 |
- The checkpoint is intended to be loaded by SpecForge/EAGLE3-compatible code.
|
| 84 |
+
- `training_state.pt` is included when available for provenance and training-state inspection.
|
| 85 |
- No benchmark claim is made in this card.
|