DeepSpec is a full-stack codebase for training and evaluating draft models used in speculative decoding. It provides the components needed to prepare data, train draft models, and measure acceptance behavior against target models. The workflow starts with data preparation, including prompt download, target answer regeneration, and target cache construction. It then trains a draft model using configuration files for different algorithms and target model setups. The evaluation pipeline measures speculative decoding performance across benchmark tasks such as math, coding, instruction-following, and chat-style datasets. Overall, it is useful for researchers and engineers studying faster language model inference through speculative decoding methods.

Features

  • Full-stack speculative decoding research codebase
  • Data preparation utilities for target model outputs
  • Draft model training scripts and configurations
  • Evaluation scripts for speculative decoding benchmarks
  • Released checkpoints for Eagle3, DFlash, and DSpark variants
  • Support for Qwen and Gemma target model experiments

Project Samples

Project Activity

See All Activity >

Categories

Algorithms

License

MIT License

Follow DeepSpec

DeepSpec Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of DeepSpec!

Additional Project Details

Programming Language

Python

Related Categories

Python Algorithms

Registered

3 hours ago