Downloads · 30 days
13
6% of all-time downloads
husj576/GTO-llama31-instruct-8B
GTO-llama31-instruct-8B is a text generation model from husj576. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This repository contains a draft model for speculative decoding trained using Group Tree Optimization (GTO).
Downloads · 30 days
13
6% of all-time downloads
All-time downloads
215
Public
Repo size
1.7 GB
Likes
0
Public
Click a slice to open those files.
.bin851 MB · 100%
From the Hugging Face model README
This repository contains a draft model for speculative decoding trained using Group Tree Optimization (GTO).
GTO is a framework designed to bridge the "draft policy misalignment" between training (which often focuses on single-token greedy paths) and inference (which uses tree-based re-ranking and verification). It introduces a Draft Tree Reward objective and a Group-based Draft Policy Training scheme to optimize acceptance lengths and inference speed.
Bridging Draft Policy Misalignment: Group Tree Optimization for Speculative Decoding
For implementation details, training scripts, and inference code, please visit the official repository: https://github.com/hsj576/GTO
GTO achieves significant performance improvements:
The official implementation provides a web interface for inference. To use this draft model with a base model, you can run the following command from the GTO repository:
python -m application.webui --ea-model-path [path of GTO weight]\
--base-model-path [path of the original model]\
--model-type [vicuna\llama3\qwen]\
--total-token [int]
The total-token parameter specifies the number of draft tokens. Adjust this value based on your specific hardware and model size for optimal results.
If you find GTO useful in your research, please cite the following paper:
@article{hu2025bridging,
title={Bridging Draft Policy Misalignment: Group Tree Optimization for Speculative Decoding},
author={Hu, Shijing and Li, Jingyang and Lu, Zhihui and Zhou, Pan},
journal={arXiv preprint arXiv:2509.22134},
year={2025}
}
The implementation is based on the open-source repository of EAGLE and has been influenced by projects in the LLM community such as HASS and GRIFFIN.