This repository contains the official code for the paper "Speculative Sampling with Reinforcement Learning" (PDF).
This repository is organized into two main directories (or branches):
cd ReSpS_train_test/Contains the code for training and evaluating the RL policy. Refer to the README in that directory for detailed setup and usage instructions.
cd ReSps_stats/Contains the code for statistical analysis of the RL policy results. Refer to the README in that directory for analysis scripts and instructions.
-
Choose the appropriate directory based on your needs:
- Training/Testing: Navigate to
ReSpS_train_test/ - Statistical Analysis: Navigate to
ReSps_stats/
- Training/Testing: Navigate to
-
Follow the installation and usage instructions in the respective README files.
We would like to thank the authors of the original EAGLE for their contributions and insights. Our work builds upon their foundational research and methodologies.
This project is licensed under the MIT License. See the LICENSE file for details in each directory.