lucidrains / simple-hierarchical-transformer
Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT
☆205Updated 4 months ago
Alternatives and similar repositories for simple-hierarchical-transformer:
Users that are interested in simple-hierarchical-transformer are comparing it to the libraries listed below
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆225Updated 4 months ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆403Updated last week
- Some personal experiments around routing tokens to different autoregressive attention, akin to mixture-of-experts☆112Updated 3 months ago
- Implementation of the Llama architecture with RLHF + Q-learning☆157Updated last year
- Recurrent Memory Transformer☆148Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆297Updated 7 months ago
- Implementation of Soft MoE, proposed by Brain's Vision team, in Pytorch☆256Updated 8 months ago
- Understand and test language model architectures on synthetic tasks.☆175Updated this week
- Standalone Product Key Memory module in Pytorch - for augmenting Transformer models☆76Updated 5 months ago
- Implementation of 🌻 Mirasol, SOTA Multimodal Autoregressive model out of Google Deepmind, in Pytorch☆88Updated last year
- Implementation of Infini-Transformer in Pytorch☆107Updated 2 weeks ago
- Implementation of GateLoop Transformer in Pytorch and Jax☆87Updated 6 months ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆204Updated last year
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆219Updated last month
- Multipack distributed sampler for fast padding-free training of LLMs☆184Updated 5 months ago
- Explorations into the recently proposed Taylor Series Linear Attention☆91Updated 4 months ago
- ☆164Updated last year
- Implementation of Block Recurrent Transformer - Pytorch☆217Updated 4 months ago
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆129Updated 8 months ago
- Sequence modeling with Mega.☆297Updated last year
- Exploring finetuning public checkpoints on filter 8K sequences on Pile☆115Updated last year
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆632Updated 3 weeks ago
- Randomized Positional Encodings Boost Length Generalization of Transformers☆79Updated 10 months ago
- Minimal (400 LOC) implementation Maximum (multi-node, FSDP) GPT training☆121Updated 9 months ago
- Some preliminary explorations of Mamba's context scaling.☆206Updated 11 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆90Updated last month
- Implementation of Gated State Spaces, from the paper "Long Range Language Modeling via Gated State Spaces", in Pytorch☆97Updated last year
- ☆53Updated 11 months ago
- Just some miscellaneous utility functions / decorators / modules related to Pytorch and Accelerate to help speed up implementation of new…☆119Updated 5 months ago