lucidrains / rela-transformer
Implementation of a Transformer using ReLA (Rectified Linear Attention) from https://arxiv.org/abs/2104.07012
☆49Updated 2 years ago
Related projects ⓘ
Alternatives and complementary repositories for rela-transformer
- Implementation of the Remixer Block from the Remixer paper, in Pytorch☆35Updated 3 years ago
- A python library for highly configurable transformers - easing model architecture search and experimentation.☆49Updated 2 years ago
- Implementation of Token Shift GPT - An autoregressive model that solely relies on shifting the sequence space for mixing☆47Updated 2 years ago
- codebase for the SIMAT dataset and evaluation☆38Updated 2 years ago
- Implementation of N-Grammer, augmenting Transformers with latent n-grams, in Pytorch☆72Updated last year
- Implementation of TableFormer, Robust Transformer Modeling for Table-Text Encoding, in Pytorch☆35Updated 2 years ago
- Local Attention - Flax module for Jax☆20Updated 3 years ago
- An open source implementation of CLIP.☆32Updated 2 years ago
- Another attempt at a long-context / efficient transformer by me☆37Updated 2 years ago
- ImageNet-12k subset of ImageNet-21k (fall11)☆20Updated last year
- Unofficially Implements https://arxiv.org/abs/2112.05682 to get Linear Memory Cost on Attention for PyTorch☆12Updated 2 years ago
- My explorations into editing the knowledge and memories of an attention network☆34Updated last year
- Skyformer: Remodel Self-Attention with Gaussian Kernel and Nystr\"om Method (NeurIPS 2021)☆59Updated 2 years ago
- Implementation of Multistream Transformers in Pytorch☆53Updated 3 years ago
- A simple implementation of a deep linear Pytorch module☆18Updated 4 years ago
- A GPT, made only of MLPs, in Jax☆55Updated 3 years ago
- ☆29Updated 2 years ago
- A simple Transformer where the softmax has been replaced with normalization☆18Updated 4 years ago
- Implementation of COCO-LM, Correcting and Contrasting Text Sequences for Language Model Pretraining, in Pytorch☆45Updated 3 years ago
- A dashboard for exploring timm learning rate schedulers☆18Updated last year
- This repository contains the code for the paper in Findings of EMNLP 2021: "EfficientBERT: Progressively Searching Multilayer Perceptron …☆32Updated last year
- ☆21Updated last year
- Implementation of LogAvgExp for Pytorch☆32Updated 2 years ago
- Implementation of "compositional attention" from MILA, a multi-head attention variant that is reframed as a two-step attention process wi…☆50Updated 2 years ago
- High performance pytorch modules☆18Updated last year