Simple implementation of Speculative Sampling in NumPy for GPT-2.
☆98Aug 20, 2023Updated 3 years ago
Alternatives and similar repositories for speculative-sampling
Users that are interested in speculative-sampling are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Explorations into some recent techniques surrounding speculative decoding☆308Dec 22, 2024Updated last year
- Code associated with the paper **Draft & Verify: Lossless Large Language Model Acceleration via Self-Speculative Decoding**☆231Feb 13, 2025Updated last year
- Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind☆111Updated this week
- Spec-Bench: A Comprehensive Benchmark and Unified Evaluation Platform for Speculative Decoding (ACL 2024 Findings)☆415Apr 22, 2025Updated last year
- GPT* - Training faster small transformers using ALiBi, Parallel Residual Connections and more!☆20Oct 29, 2022Updated 4 years ago
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- [NeurIPS 2020] "FracTrain: Fractionally Squeezing Bit Savings Both Temporally and Spatially for Efficient DNN Training" by Yonggan Fu, Ha…☆10Feb 13, 2022Updated 4 years ago
- [ICML 2024] Break the Sequential Dependency of LLM Inference Using Lookahead Decoding☆1,345Mar 6, 2025Updated last year
- Beyond LM: How can language model go forward in the future?☆16Apr 30, 2023Updated 3 years ago
- Code for the "Long Context Needs Some R&R" paper.☆12Mar 11, 2024Updated 2 years ago
- Directed masked autoencoders☆15Mar 25, 2026Updated 7 months ago
- BERT models for many languages created from Wikipedia texts☆33May 25, 2020Updated 6 years ago
- 📰 Must-read papers and blogs on Speculative Decoding ⚡️☆1,310Jun 27, 2026Updated 4 months ago
- ☆14Nov 12, 2023Updated 3 years ago
- An implementation of SGEMV with performance comparable to cuBLAS.☆12May 21, 2021Updated 5 years ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Simple speculative decoding technique, integrated in vLLM and transformers☆622Aug 23, 2024Updated 2 years ago
- Codebase for Inference-Time Policy Adapters☆25Nov 3, 2023Updated 3 years ago
- Code for the EMNLP 2022 Findings short paper "SAT: Improving Semi-Supervised Text Classification with Simple Instance-Adaptive Self-Train…☆12Feb 25, 2023Updated 3 years ago
- This PyTorch package implements MoEBERT: from BERT to Mixture-of-Experts via Importance-Guided Adaptation (NAACL 2022).☆114May 2, 2022Updated 4 years ago
- Python tool for capturing and logging human-computer interactions. Generate rich datasets for training multi-modal LLMs in autonomous com…☆13May 9, 2026Updated 6 months ago
- Source code for ScaleGrad☆19Dec 28, 2021Updated 4 years ago
- Chinese Characters Visualization & Chinese Text Augmentation.☆17Sep 19, 2022Updated 4 years ago
- [ICML 2024] SqueezeLLM: Dense-and-Sparse Quantization☆724Aug 13, 2024Updated 2 years ago
- AskUp Search ChatGPT Plugin☆20May 27, 2023Updated 3 years ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- ☆23Jul 10, 2023Updated 3 years ago
- REST: Retrieval-Based Speculative Decoding, NAACL 2024☆221Mar 5, 2026Updated 8 months ago
- A Python library that tees the standard output & standard error from the current process to files on disk, while preserving terminal sema…☆17Aug 17, 2023Updated 3 years ago
- Calculating Expected Time for training LLM.☆39Apr 17, 2023Updated 3 years ago
- ☆13Jun 18, 2024Updated 2 years ago
- Enhanced multi-needle retrieval testing framework for evaluating LLM long-context understanding capabilities☆12Oct 8, 2025Updated last year
- ☆19Aug 1, 2020Updated 6 years ago
- Automatically Discovering Fast Parallelization Strategies for Distributed Deep Neural Network Training☆1,900Updated this week
- Minimal RLHF implementation built on top of minGPT.☆32Jul 4, 2024Updated 2 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- NSMC, KorSTS ... fine-tunings☆18Feb 23, 2022Updated 4 years ago
- Official implementation for 'Extending LLMs’ Context Window with 100 Samples'☆83Jan 18, 2024Updated 2 years ago
- Efficient LLM Inference over Long Sequences☆392Jun 25, 2025Updated last year
- Cascade Speculative Drafting☆32Apr 2, 2024Updated 2 years ago
- Distributed SDDMM Kernel☆13Jul 8, 2022Updated 4 years ago
- annotated-transformer-kr☆15May 16, 2019Updated 7 years ago
- 2nd place solution of ECCV 2020 workshop VIPriors Image Classification Challenge, https://arxiv.org/abs/2008.00261☆13Aug 22, 2021Updated 5 years ago
Are these results useful?