Code
LongHeads: Multi-Head Attention is Secretly a Long Context Processor
Why Lacuna links this resource
Confirmed by the paper and resource
The paper explicitly states 'We release our code at https://github.com/LuLuLuyi/LongHeads' in span P1. The repository's description and README (spans R1, R2, R3, R4) explicitly mention the paper's title and provide a link to its arXiv preprint, confirming it is the official code for the paper.