long-context topic
InternLM
Official release of InternLM2.5 base and chat models. 1M context support
LongLoRA
Code and documents of LongLoRA and LongAlpaca (ICLR 2024 Oral)
LongAlign
[EMNLP 2024] LongAlign: A Recipe for Long Context Alignment of LLMs
InfLLM
The code of our paper "InfLLM: Unveiling the Intrinsic Capacity of LLMs for Understanding Extremely Long Sequences with Training-Free Memory"
Heptabit-Music-Transformer
[DEPRECIATED] Very fast, large music transformer with 8k sequence length, efficient heptabit MIDI notes encoding, true full MIDI instruments range, chords counters and outro tokens
TriForce
[COLM 2024] TriForce: Lossless Acceleration of Long Sequence Generation with Hierarchical Speculative Decoding
ring-attention-pytorch
Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch
infini-transformer
PyTorch implementation of Infini-Transformer from "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention" (https://arxiv.org/abs/2404.07143)
LooGLE
ACL 2024 | LooGLE: Long Context Evaluation for Long-Context Language Models
Retrieval_Head
open-source code for paper: Retrieval Head Mechanistically Explains Long-Context Factuality