Skip to content
AISE-TUDelftPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated Attention Pattern Discovery at Scale in Large Language Models

This is the reproduction package for the paper entitled Automated Attention Pattern Discovery at Scale in Large Language Models

The repository is structured into two main directories:

  • Clustering
  • Model

The Clustering directory comprises all the code for clustering attention heads as well as the code for training the CatBoost classifier and interventions in the model inference.

The Model directory comprises all the code for building the AP-MAE model. This includes the model architecture and the training setup.

For further instructions on running the code, please refer to the README files in each directory.

This package includes the training data utilities required by Model/train_ap_mae.py, and tree-sitter-backed parsing paths for Java and C++/CPP query extraction.

Links

We list the StackLessV2 Java dataset the subset of The Heap used for training here.

We release the AP-MAE model collection here.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages