ofirpress / attention_with_linear_biasesLinks
Code for the ALiBi method for transformer language models (ICLR 2022)
☆543Updated 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.☆300Updated 2 years ago
- Implementation of RETRO, Deepmind's Retrieval based Attention net, in Pytorch☆873Updated last year
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆230Updated last year
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆652Updated 9 months ago
- Run Effective Large Batch Contrastive Learning Beyond GPU/TPU Memory Constraint☆412Updated last year
- Code for T-Few from "Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning"☆457Updated 2 years ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆362Updated last year
- [NeurIPS'22 Spotlight] A Contrastive Framework for Neural Text Generation☆473Updated last year
- Recurrent Memory Transformer☆150Updated 2 years ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆417Updated 9 months ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆813Updated 2 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆763Updated last year
- Rectified Rotary Position Embeddings☆381Updated last year
- Official code for ReLoRA from the paper Stack More Layers Differently: High-Rank Training Through Low-Rank Updates☆464Updated last year
- Code repository for supporting the paper "Atlas Few-shot Learning with Retrieval Augmented Language Models",(https//arxiv.org/abs/2208.03…☆547Updated last year
- Root Mean Square Layer Normalization☆254Updated 2 years ago
- Scaling Data-Constrained Language Models☆342Updated 3 months ago
- Automatically split your PyTorch models on multiple GPUs for training & inference☆655Updated last year
- An implementation of masked language modeling for Pytorch, made as concise and simple as possible☆179Updated 2 years ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆383Updated 2 years ago
- An implementation of local windowed attention for language modeling☆479Updated 2 months ago
- Task-based datasets, preprocessing, and evaluation for sequence models.☆587Updated 3 weeks ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆757Updated 2 months ago
- ☆363Updated last year
- DSIR large-scale data selection framework for language model training☆259Updated last year
- Official repository of NEFTune: Noisy Embeddings Improves Instruction Finetuning☆400Updated last year
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆223Updated last year
- Diffusion-LM☆1,185Updated last year
- A minimal implementation of diffusion models for text generation☆395Updated 2 years ago
- Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate …☆635Updated 2 years ago