ofirpress / attention_with_linear_biasesLinks
Code for the ALiBi method for transformer language models (ICLR 2022)
☆530Updated last year
Alternatives and similar repositories for attention_with_linear_biases
Users that are interested in attention_with_linear_biases are comparing it to the libraries listed below
Sorting:
- Sequence modeling with Mega.☆295Updated 2 years ago
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆228Updated 8 months ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆408Updated 4 months ago
- Recurrent Memory Transformer☆148Updated last year
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆642Updated 5 months ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆681Updated 6 months ago
- An implementation of local windowed attention for language modeling☆450Updated 4 months ago
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆213Updated 9 months ago
- Implementation of RETRO, Deepmind's Retrieval based Attention net, in Pytorch☆865Updated last year
- Rectified Rotary Position Embeddings☆367Updated last year
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆333Updated 11 months ago
- Long Range Arena for Benchmarking Efficient Transformers☆757Updated last year
- [NeurIPS'22 Spotlight] A Contrastive Framework for Neural Text Generation☆471Updated last year
- Code for T-Few from "Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning"☆451Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆378Updated last year
- Implementation of Block Recurrent Transformer - Pytorch☆217Updated 9 months ago
- Run Effective Large Batch Contrastive Learning Beyond GPU/TPU Memory Constraint☆389Updated last year
- Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate …☆632Updated last year
- Library for 8-bit optimizers and quantization routines.☆716Updated 2 years ago
- An implementation of masked language modeling for Pytorch, made as concise and simple as possible☆181Updated last year
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆363Updated last year
- Root Mean Square Layer Normalization☆241Updated 2 years ago
- DSIR large-scale data selection framework for language model training☆249Updated last year
- Research code for pixel-based encoders of language (PIXEL)☆335Updated last year
- Rotary Transformer☆962Updated 3 years ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆758Updated last year
- ☆352Updated last year
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆768Updated last year
- Large Context Attention☆711Updated 4 months ago
- Implementation of Mega, the Single-head Attention with Multi-headed EMA architecture that currently holds SOTA on Long Range Arena☆203Updated last year