ofirpress / attention_with_linear_biases
Code for the ALiBi method for transformer language models (ICLR 2022)
☆512Updated 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
- Sequence modeling with Mega.☆297Updated 2 years ago
- Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch☆403Updated 3 weeks ago
- [NeurIPS'22 Spotlight] A Contrastive Framework for Neural Text Generation☆468Updated 10 months ago
- Run Effective Large Batch Contrastive Learning Beyond GPU/TPU Memory Constraint☆371Updated 10 months ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆619Updated 2 months ago
- Code for T-Few from "Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learning"☆441Updated last year
- Implementation of RETRO, Deepmind's Retrieval based Attention net, in Pytorch☆857Updated last year
- Recurrent Memory Transformer☆148Updated last year
- Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch☆634Updated last month
- Implementation of the conditionally routed attention in the CoLT5 architecture, in Pytorch☆225Updated 4 months ago
- An implementation of masked language modeling for Pytorch, made as concise and simple as possible☆178Updated last year
- Diffusion-LM☆1,086Updated 5 months ago
- Large Context Attention☆677Updated this week
- Rectified Rotary Position Embeddings☆348Updated 8 months ago
- Implementation of ST-Moe, the latest incarnation of MoE after years of research at Brain, in Pytorch☆299Updated 7 months ago
- Long Range Arena for Benchmarking Efficient Transformers☆740Updated last year
- Research code for pixel-based encoders of language (PIXEL)☆334Updated 10 months ago
- ☆336Updated 9 months ago
- DSIR large-scale data selection framework for language model training☆242Updated 9 months ago
- Pytorch implementation of DoReMi, a method for optimizing the data mixture weights in language modeling datasets☆313Updated last year
- Library for 8-bit optimizers and quantization routines.☆717Updated 2 years ago
- Reproduce results and replicate training fo T0 (Multitask Prompted Training Enables Zero-Shot Task Generalization)☆461Updated 2 years ago
- [ICLR 2024] Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruning☆581Updated 10 months ago
- Code repository for supporting the paper "Atlas Few-shot Learning with Retrieval Augmented Language Models",(https//arxiv.org/abs/2208.03…☆524Updated last year
- An implementation of local windowed attention for language modeling☆408Updated last week
- Repository containing code for "How to Train BERT with an Academic Budget" paper☆310Updated last year
- A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models☆671Updated last year
- This repository contains code to quantitatively evaluate instruction-tuned models such as Alpaca and Flan-T5 on held-out tasks.☆540Updated 10 months ago
- Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"☆370Updated last year
- Official implementation of TransNormerLLM: A Faster and Better LLM☆238Updated last year