--- license: mit library_name: transformers pipeline_tag: text-generation --- This repository contains the LongSpec model described in [LongSpec: Long-Context Lossless Speculative Decoding with Efficient Drafting and Verification](https://huggingface.co/papers/2502.17421). For training and usage, see the code at https://github.com/sail-sg/LongSpec.