syncdoth / RetNetLinks
Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent, and chunkwise forward.
☆227Updated last year
Alternatives and similar repositories for RetNet
Users that are interested in RetNet are comparing it to the libraries listed below
Sorting:
- A simple but robust PyTorch implementation of RetNet from "Retentive Network: A Successor to Transformer for Large Language Models" (http…☆106Updated 2 years ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆560Updated 11 months ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆422Updated 11 months ago
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆469Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆374Updated last year
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆200Updated last month
- ☆206Updated this week
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆655Updated 11 months ago
- Effortless plugin and play Optimizer to cut model training costs by 50%. New optimizer that is 2x faster than Adam on LLMs.☆384Updated last year
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆224Updated last year
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆231Updated last year
- Recurrent Memory Transformer☆154Updated 2 years ago
- A repository for log-time feedforward networks☆223Updated last year
- Implementation of Block Recurrent Transformer - Pytorch☆223Updated last year
- Official implementation of TransNormerLLM: A Faster and Better LLM☆248Updated last year
- Code repository for Black Mamba☆260Updated last year
- ☆293Updated last year
- Annotated version of the Mamba paper☆492Updated last year
- Implementation of the Llama architecture with RLHF + Q-learning☆168Updated 10 months ago
- Sequence modeling with Mega.☆302Updated 2 years ago
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAI☆294Updated 6 months ago
- The repository for the code of the UltraFastBERT paper☆520Updated last year
- Official PyTorch implementation of QA-LoRA☆145Updated last year
- Implementation of MambaByte in "MambaByte: Token-free Selective State Space Model" in Pytorch and Zeta☆126Updated last month
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆243Updated 6 months ago
- Implementation of CALM from the paper "LLM Augmented LLMs: Expanding Capabilities through Composition", out of Google Deepmind☆179Updated last year
- Understand and test language model architectures on synthetic tasks.☆245Updated 2 months ago
- Code for the ALiBi method for transformer language models (ICLR 2022)☆546Updated 2 years ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793☆445Updated 7 months ago
- PyTorch implementation of Infini-Transformer from "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention…☆294Updated last year