TobiasNorlund / retro
Official repo to On the Generalization Ability of Retrieval-Enhanced Transformers
☆38Updated 10 months ago
Alternatives and similar repositories for retro:
Users that are interested in retro are comparing it to the libraries listed below
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models"☆59Updated 6 months ago
- ☆38Updated last year
- ☆34Updated last year
- ☆100Updated 10 months ago
- [NeurIPS'23] Speculative Decoding with Big Little Decoder☆90Updated last year
- ☆72Updated 11 months ago
- ☆143Updated last year
- Repository for Sparse Finetuning of LLMs via modified version of the MosaicML llmfoundry☆40Updated last year
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆148Updated last week
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆135Updated 11 months ago
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆128Updated 8 months ago
- A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.☆65Updated 8 months ago
- Repo for ICML23 "Why do Nearest Neighbor Language Models Work?"☆56Updated 2 years ago
- Easy-to-use Retrieval-Enhanced Transformer implementation☆10Updated 2 years ago
- Randomized Positional Encodings Boost Length Generalization of Transformers☆80Updated last year
- Boosting 4-bit inference kernels with 2:4 Sparsity☆72Updated 7 months ago
- NAACL '24 (Best Demo Paper RunnerUp) / MlSys @ NeurIPS '23 - RedCoast: A Lightweight Tool to Automate Distributed Training and Inference☆64Updated 4 months ago
- Simple implementation of Speculative Sampling in NumPy for GPT-2.☆93Updated last year
- ☆125Updated last year
- Simple and efficient pytorch-native transformer training and inference (batched)☆73Updated last year
- Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding (EMNLP 2023 Long)☆57Updated 6 months ago
- ☆43Updated last year
- Retrieval as Attention☆83Updated 2 years ago
- Repository of the paper "Accelerating Transformer Inference for Translation via Parallel Decoding"☆116Updated last year
- Official code release for "SuperBPE: Space Travel for Language Models"☆12Updated last week
- Code repository for the c-BTM paper☆106Updated last year
- [ICLR2025] Breaking Throughput-Latency Trade-off for Long Sequences with Speculative Decoding☆113Updated 4 months ago
- Code repository for the paper - "AdANNS: A Framework for Adaptive Semantic Search"☆64Updated last year
- minimal pytorch implementation of bm25 (with sparse tensors)☆100Updated last year
- Triton-based implementation of Sparse Mixture of Experts.☆210Updated 4 months ago