Code for the ALiBi method for transformer language models (ICLR 2022)
☆558Oct 30, 2023Updated 2 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 3 years ago
- YaRN: Efficient Context Window Extension of Large Language Models☆1,737Apr 17, 2024Updated 2 years ago
- Sequence modeling with Mega.☆303Jan 28, 2023Updated 3 years ago
- Official repository of paper "RNNs Are Not Transformers (Yet): The Key Bottleneck on In-context Retrieval"☆27Apr 17, 2024Updated 2 years ago
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- Transformers at any scale☆42Jan 18, 2024Updated 2 years ago
- Fast and memory-efficient exact attention☆24,497Updated this week
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆139Apr 30, 2024Updated 2 years ago
- Code and documents of LongLoRA and LongAlpaca (ICLR 2024 Oral)☆2,689Aug 14, 2024Updated last year
- Implementation of RETRO, Deepmind's Retrieval based Attention net, in Pytorch☆877Oct 30, 2023Updated 2 years ago
- Large Context Attention☆773Oct 13, 2025Updated 9 months ago
- LLM training code for Databricks foundation models☆4,429Mar 25, 2026Updated 3 months ago
- Positional Skip-wise Training for Efficient Context Window Extension of LLMs to Extremely Length (ICLR 2024)☆208May 20, 2024Updated 2 years ago
- Ring attention implementation with flash attention☆1,037Sep 10, 2025Updated 10 months 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.
- [ICML'24 Spotlight] LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuning☆668Jun 1, 2024Updated 2 years ago
- Accessible large language models via k-bit quantization for PyTorch.☆8,333Updated this week
- Minimalistic large language model 3D-parallelism training☆2,755May 26, 2026Updated last month
- Layer-Condensed KV cache w/ 10 times larger batch size, fewer params and less computation. Dramatic speed up with better task performance…☆157Apr 7, 2025Updated last year
- Implementation of Rotary Embeddings, from the Roformer paper, in Pytorch☆816Jun 20, 2026Updated last month
- Foundation Architecture for (M)LLMs☆3,133Apr 11, 2024Updated 2 years ago
- OSLO: Open Source for Large-scale Optimization☆175Sep 9, 2023Updated 2 years ago
- PyTorch extensions for high performance and large scale training.☆3,411Apr 26, 2025Updated last year
- ☆23Jul 27, 2023Updated 2 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Parallelformers: An Efficient Model Parallelization Toolkit for Deployment☆787Apr 24, 2023Updated 3 years ago
- Long Range Arena for Benchmarking Efficient Transformers☆787Dec 16, 2023Updated 2 years ago
- RoFormer V1 & V2 pytorch☆524May 18, 2022Updated 4 years ago
- Code for the Shortformer model, from the ACL 2021 paper by Ofir Press, Noah A. Smith and Mike Lewis.☆147Jul 26, 2021Updated 4 years ago
- Language Modeling with the H3 State Space Model☆525Sep 29, 2023Updated 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,785Updated this week
- Public repo for the NeurIPS 2023 paper "Unlimiformer: Long-Range Transformers with Unlimited Length Input"☆1,062Mar 7, 2024Updated 2 years ago
- Structured state space sequence models☆2,911Jul 17, 2024Updated 2 years ago
- Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities☆22,167Jan 23, 2026Updated 5 months ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- kogpt를 oslo로 파인튜닝하는 예제.☆23Aug 26, 2022Updated 3 years ago
- The RedPajama-Data repository contains code for preparing large datasets for training large language models.☆4,969Jun 3, 2026Updated last month
- ☆29May 4, 2024Updated 2 years ago
- Human preference data for "Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedback"☆1,851Jun 17, 2025Updated last year
- A concise but complete full-attention transformer with a set of promising experimental features from various papers☆5,922Updated this week
- Transformer related optimization, including BERT, GPT☆6,442Mar 27, 2024Updated 2 years ago
- [ICLR 2024] CLEX: Continuous Length Extrapolation for Large Language Models☆78Mar 12, 2024Updated 2 years ago