Official code for A Versatile Influence Function for Data Attribution with Non-Decomposable Loss, ICML 25.