syncdoth / RetNetLinks
Huggingface compatible implementation of RetNet (Retentive Networks, https://arxiv.org/pdf/2307.08621.pdf) including parallel, recurrent, and chunkwise forward.
☆226Updated 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…☆105Updated last year
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆461Updated last year
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆559Updated 7 months ago
- PyTorch Implementation of Jamba: "Jamba: A Hybrid Transformer-Mamba Language Model"☆183Updated last week
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆359Updated last year
- ☆194Updated 2 weeks ago
- Recurrent Memory Transformer☆150Updated 2 years ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆413Updated 7 months ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆229Updated 11 months ago
- ☆292Updated 8 months ago
- PyTorch implementation of Infini-Transformer from "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention…☆291Updated last year
- Official implementation of TransNormerLLM: A Faster and Better LLM☆247Updated last year
- Code repository for Black Mamba☆254Updated last year
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆649Updated 8 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆220Updated last year
- Effortless plugin and play Optimizer to cut model training costs by 50%. New optimizer that is 2x faster than Adam on LLMs.☆379Updated last year
- ☆226Updated last year
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆241Updated 2 months ago
- Implementation of Block Recurrent Transformer - Pytorch☆219Updated last year
- Annotated version of the Mamba paper☆488Updated last year
- Some preliminary explorations of Mamba's context scaling.☆217Updated last year
- A repository for log-time feedforward networks☆223Updated last year
- Sequence modeling with Mega.☆297Updated 2 years ago
- Official PyTorch implementation of QA-LoRA☆138Updated last year
- Implementation of MambaByte in "MambaByte: Token-free Selective State Space Model" in Pytorch and Zeta☆122Updated last week
- Implementation of the Llama architecture with RLHF + Q-learning☆166Updated 6 months ago
- Unofficial PyTorch/🤗Transformers(Gemma/Llama3) implementation of Leave No Context Behind: Efficient Infinite Context Transformers with I…☆367Updated last year
- The Truth Is In There: Improving Reasoning in Language Models with Layer-Selective Rank Reduction☆388Updated last year
- Understand and test language model architectures on synthetic tasks.☆222Updated last month
- Implementation of CALM from the paper "LLM Augmented LLMs: Expanding Capabilities through Composition", out of Google Deepmind☆177Updated 11 months ago