-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Write independant module for computing the NTK * Remove NTK computation from the model Adapt all tests * Run black and isort * remove ntk from huggingface flax model * Adapt integration tests to new ntk computation * Adapt notebook API to new ntk computation * fix ntk computation hfmodels * remove unnessecary imports * Install papyrus via requirements.txt * Create Papyrus Jax Recorder and tests * make NTK computation return ntk in list * Create tests for the jax ntk computation * remove unused imports from model tests * adapt simple training to new recorder * adapt jax recorder to api changes of papyrus * Adapt Examples to new api - Computing CVs Example - Contrastive Loss Example - Using data recorder Example * run black * Adapt training strategies to new recorder Adapt examples: - Using Training Strategies - ResNet Example * Adapt tests to new recorders * Adapt the trace opt to more flexible ntk calculation. This allows for subsampling the ntk. * Add explenation to the data recorders notebook * include access token in papyrus installation * change access token reference * try granting access to token via environment * exclude token from install commant * try setting git config including access token * include access token also in doc building * Write NTK subsampling class. * Make ntk calculation entire data set with inputs and targets. Add option to set the data set keys in the init of the ntk computation * run black * Write class-wise ntk computation * make loss derivative computation work and include in example * Write ntk combinations which can be used to compute the mutual information of a system. * Move ntk computation to analysis * Fix bugs in jax combinations * Complete Docstrings of papyrus jax recorder * Write Example to compute the information neural mutual information * remove outdated recorder * Adapt integration test to new recorder * Include changes of papyrus to public. --------- Co-authored-by: knikolaou <>
- Loading branch information
Showing
42 changed files
with
3,378 additions
and
1,458 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.