long-context topic

List long-context repositories

InternLM

6.3k
Stars
443
Forks
42
Watchers

Official release of InternLM2.5 base and chat models. 1M context support

LongLoRA

2.6k
Stars
270
Forks
Watchers

Code and documents of LongLoRA and LongAlpaca (ICLR 2024 Oral)

LongAlign

199
Stars
13
Forks
Watchers

[EMNLP 2024] LongAlign: A Recipe for Long Context Alignment of LLMs

InfLLM

282
Stars
25
Forks
Watchers

The code of our paper "InfLLM: Unveiling the Intrinsic Capacity of LLMs for Understanding Extremely Long Sequences with Training-Free Memory"

Heptabit-Music-Transformer

15
Stars
0
Forks
Watchers

[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

209
Stars
12
Forks
Watchers

[COLM 2024] TriForce: Lossless Acceleration of Long Sequence Generation with Hierarchical Speculative Decoding

ring-attention-pytorch

428
Stars
25
Forks
Watchers

Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch

infini-transformer

262
Stars
22
Forks
Watchers

PyTorch implementation of Infini-Transformer from "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attention" (https://arxiv.org/abs/2404.07143)

LooGLE

139
Stars
6
Forks
Watchers

ACL 2024 | LooGLE: Long Context Evaluation for Long-Context Language Models

Retrieval_Head

130
Stars
12
Forks
Watchers

open-source code for paper: Retrieval Head Mechanistically Explains Long-Context Factuality