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
0likes822downloads
15 commits on main
63d1f561y ago

Add files using upload-large-folder tool

shaswat123
ed2fb361y ago

Add files using upload-large-folder tool

shaswat123
a6ecf211y ago

Add files using upload-large-folder tool

shaswat123
ad214f71y ago

Add files using upload-large-folder tool

shaswat123
b74f67e1y ago

Add files using upload-large-folder tool

shaswat123
64fd36a1y ago

Add files using upload-large-folder tool

shaswat123
f4da9761y ago

Add files using upload-large-folder tool

shaswat123
432bae11y ago

Add files using upload-large-folder tool

shaswat123
1c0b7e91y ago

Add files using upload-large-folder tool

shaswat123
a796f4f1y ago

Add files using upload-large-folder tool

shaswat123
7f3a73d1y ago

Add files using upload-large-folder tool

shaswat123
69a29591y ago

Add files using upload-large-folder tool

shaswat123
56160341y ago

Add files using upload-large-folder tool

shaswat123
455d2f71y ago

Add files using upload-large-folder tool

shaswat123
b9c49501y ago

initial commit

shaswat123