LongAlign
LLM OrchestrationOpen Source AI & Machine Learning

LongAlign

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

Open Source

About

LongAlign is the first full recipe for LLM alignment on long context. We propose the LongAlign-10k dataset, containing 10,000 long instruction data of 8k-64k in length. We investigate on training strategies, namely packing (with loss weighting) and sorted batching, which are all implemented in our code. For real-world long context evaluation, we introduce LongBench-Chat that evaluates the instruction-following capability on queries of 10k-100k length.

Open Source Health

Not enough history
Stars
262
Forks
21
License
Apache-2.0
Last commit
2 years ago
Python

Related Categories