Code for the ALiBi method for transformer language models (ICLR 2022)
☆557Oct 30, 2023Updated 3 years ago
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. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- PyTorch implementation of Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolation☆33Dec 29, 2021Updated 4 years ago
- ☆20Oct 25, 2022Updated 4 years ago
- YaRN: Efficient Context Window Extension of Large Language Models☆1,808Apr 17, 2024Updated 2 years ago
- Code for the Shortformer model, from the ACL 2021 paper by Ofir Press, Noah A. Smith and Mike Lewis.☆145Jul 26, 2021Updated 5 years ago
- Sequence modeling with Mega.☆300Jan 28, 2023Updated 3 years ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆140Apr 30, 2024Updated 2 years ago
- Implementation of Token Shift GPT - An autoregressive model that solely relies on shifting the sequence space for mixing☆49Jan 27, 2022Updated 4 years ago
- Positional Skip-wise Training for Efficient Context Window Extension of LLMs to Extremely Length (ICLR 2024)☆209May 20, 2024Updated 2 years ago
- Implementation of RETRO, Deepmind's Retrieval based Attention net, in Pytorch☆878Oct 30, 2023Updated 3 years ago
- Transformers at any scale☆42Jan 18, 2024Updated 2 years ago
- Fast and memory-efficient exact attention☆25,221Updated this week
- PyTorch extensions for high performance and large scale training.☆3,404Apr 26, 2025Updated last year
- Depth-Bounded PCFG Induction☆13Apr 19, 2019Updated 7 years ago
- LLM training code for Databricks foundation models☆4,461Mar 25, 2026Updated 7 months ago
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Long Range Arena for Benchmarking Efficient Transformers☆788Dec 16, 2023Updated 2 years ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Apr 17, 2024Updated 2 years ago
- Parallelformers: An Efficient Model Parallelization Toolkit for Deployment☆789Apr 24, 2023Updated 3 years ago
- Accessible large language models via k-bit quantization for PyTorch.☆8,535Updated this week
- Ring attention implementation with flash attention☆1,065Sep 10, 2025Updated last year
- ☆1,575Jul 2, 2026Updated 3 months ago
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆827Jun 20, 2026Updated 4 months ago
- Code and documents of LongLoRA and LongAlpaca (ICLR 2024 Oral)☆2,685Aug 14, 2024Updated 2 years ago
- Foundation Architecture for (M)LLMs☆3,143Apr 11, 2024Updated 2 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Hackable and optimized Transformers building blocks, supporting a composable construction.☆10,572Updated this week
- [ICLR 2024] CLEX: Continuous Length Extrapolation for Large Language Models☆78Mar 12, 2024Updated 2 years ago
- Public repo for the NeurIPS 2023 paper "Unlimiformer: Long-Range Transformers with Unlimited Length Input"☆1,061Mar 7, 2024Updated 2 years ago
- ☆3,005Aug 3, 2026Updated 2 months ago
- A concise but complete full-attention transformer with a set of promising experimental features from various papers☆5,961Oct 23, 2026Updated last week
- A repo for distributed training of language models with Reinforcement Learning via Human Feedback (RLHF)☆4,756Jan 8, 2024Updated 2 years ago
- Pytorch implementation of Compressive Transformers, from Deepmind☆165Oct 4, 2021Updated 5 years ago
- Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities☆22,234Sep 21, 2026Updated last month
- maximal update parametrization (µP)☆1,756Jul 17, 2024Updated 2 years ago
- Open source password manager - Proton Pass • AdSecurely store, share, and autofill your credentials with Proton Pass, the end-to-end encrypted password manager trusted by millions.
- Language Modeling with the H3 State Space Model☆527Sep 29, 2023Updated 3 years ago
- ☆69Aug 29, 2024Updated 2 years ago
- Recurrent Memory Transformer☆160Aug 14, 2023Updated 3 years ago
- Transformer related optimization, including BERT, GPT☆6,458Mar 27, 2024Updated 2 years ago
- Long-context pretrained encoder-decoder models☆97Oct 28, 2022Updated 4 years ago
- [ICML'24 Spotlight] LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuning☆666Jun 1, 2024Updated 2 years ago
- 🚀 A simple way to launch, train, and use PyTorch models on almost any device and distributed configuration, automatic mixed precision (i…☆9,930Updated this week