ofirpress / attention_with_linear_biasesLinks
Code for the ALiBi method for transformer language models (ICLR 2022)
☆542Updated 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 MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆651Updated 8 months ago
- Run Effective Large Batch Contrastive Learning Beyond GPU/TPU Memory Constraint☆408Updated last year
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆229Updated last year
- Implementation of RETRO, Deepmind's Retrieval based Attention net, in Pytorch☆871Updated last year
- Recurrent Memory Transformer☆150Updated 2 years ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆749Updated last month
- Long Range Arena for Benchmarking Efficient Transformers☆763Updated last year
- Code for T-Few from "Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning"☆456Updated 2 years ago
- An implementation of local windowed attention for language modeling☆475Updated 2 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆360Updated last year
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆380Updated 2 years ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆414Updated 8 months ago
- Rectified Rotary Position Embeddings☆381Updated last year
- Implementation of the specific Transformer architecture from PaLM - Scaling Language Modeling with Pathways☆824Updated 2 years ago
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆808Updated 2 years ago
- Implementation of the Transformer variant proposed in "Transformer Quality in Linear Time"☆369Updated last year
- Experiments around a simple idea for inducing multiple hierarchical predictive model within a GPT☆221Updated last year
- An implementation of masked language modeling for Pytorch, made as concise and simple as possible☆179Updated 2 years ago
- Implementation of Memorizing Transformers (ICLR 2022), attention net augmented with indexing and retrieval of memories using approximate …☆634Updated 2 years ago
- [NeurIPS'22 Spotlight] A Contrastive Framework for Neural Text Generation☆473Updated last year
- Automatically split your PyTorch models on multiple GPUs for training & inference☆657Updated last year
- Scaling Data-Constrained Language Models☆342Updated 2 months ago
- ☆361Updated last year
- Research code for pixel-based encoders of language (PIXEL)☆339Updated 2 months ago
- Transformer based on a variant of attention that is linear complexity in respect to sequence length☆797Updated last year
- A minimal implementation of diffusion models for text generation☆393Updated 2 years ago
- minLoRA: a minimal PyTorch library that allows you to apply LoRA to any PyTorch model.☆474Updated 2 years ago
- Task-based datasets, preprocessing, and evaluation for sequence models.☆586Updated 2 weeks ago
- Repo for "Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecture"☆559Updated 8 months ago