long-context topic

List long-context repositories

MEGABYTE-pytorch

620
Stars
52
Forks
Watchers

Implementation of MEGABYTE, Predicting Million-byte Sequences with Multiscale Transformers, in Pytorch

recurrent-memory-transformer-pytorch

390
Stars
15
Forks
Watchers

Implementation of Recurrent Memory Transformer, Neurips 2022 paper, in Pytorch

RAN

20
Stars
3
Forks
Watchers

RAN: Recurrent Attention Networks for Long-text Modeling | Findings of ACL23

LongBench

629
Stars
45
Forks
Watchers

[ACL 2024] LongBench: A Bilingual, Multitask Benchmark for Long Context Understanding

InfiniteBench

220
Stars
16
Forks
Watchers

Codes for the paper "∞Bench: Extending Long Context Evaluation Beyond 100K Tokens": https://arxiv.org/abs/2402.13718

LM-Infinite

103
Stars
11
Forks
Watchers

Implementation of paper "LM-Infinite: Simple On-the-Fly Length Generalization for Large Language Models"

perceiver-ar-pytorch

87
Stars
4
Forks
Watchers

Implementation of Perceiver AR, Deepmind's new long-context attention network based on Perceiver architecture, in Pytorch

ringattention

593
Stars
43
Forks
Watchers

Transformers with Arbitrarily Large Context

flash-genomics-model

52
Stars
5
Forks
Watchers

My own attempt at a long context genomics model, leveraging recent advances in long context attention modeling (Flash Attention + other hierarchical methods)

LongQLoRA

159
Stars
13
Forks
Watchers

LongQLoRA: Extent Context Length of LLMs Efficiently