CoolFace
Datasetpublic

shaswat123/NIAH

Retrieval Head This is the open-source code for paper: Retrieval Head Mechanistically Explains Long-Context Factuality. This code is implemented based on Needle In a HayStack. 【Update】 Support Phi3 now, thanks to the contribution made by @Wangmerlyn. Retrieval Head Detection An algorithm that statistically calculate the retrieval score of attention heads in a transformer model. Because FlashAttention can not return attention matrix, this algorithm is implemented… See the full description on the dataset page: https://huggingface.co/datasets/shaswat123/NIAH.

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes848downloads
settings

This repository belongs to shaswat123 on Hugging Face.

CoolFace never edits a repository it does not host. Visibility, licence, collaborators and gating are all managed at the source.

nameNIAH
visibilitypublic
licencenot set
gatedno
ownershaswat123
Account settings
shaswat123/NIAH · CoolFace