Skip to content

RitAreaSciencePark/ZigZagLLMs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Persistent Topological Features in Large Language Models - ICML 2025

Authors:

Yuri Gardinazzi, Karthik Viswanathan, Giada Panerai, Alessio Ansuini, Alberto Cazzaniga and Matteo Biagetti.

paper: link

With the following code you can reproduce the results of the paper and it is subdivided in four main parts inside the folder src

  • representation: folder for the extraction of the hidden representations.
  • zigzag :folder for the execution fo the ZigZag algorithm over the representations.
  • benchmark: folder where it is possible to run the benchmarks with the different prunig methods.
  • plots: folder where it is possible to reproduce the plots of the paper.

Environment setup

To install the library for FastZigZag refer to their paper and their github folder. Their code is not present in this repository due to their license which does not allow the redistribution of the software.

To install the rest of the environment conda env create -f environment.yml

LICENSE

This project is licensed under the MIT License - see the LICENSE file for details.

About

Persistent Topological Features in Large Language Models

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •