ejmichaud / neural-verification Goto Github PK
View Code? Open in Web Editor NEWMI and Formal Verification of NNs on Algorithmic tasks!
MI and Formal Verification of NNs on Algorithmic tasks!
I just did something evil, which is that I modified the MLP and RNN network implementations in neural_verification.py
so that you initialize them with a config dataclass object. This is to maintain consistency between the Transformer
implementation and the other architectures, and also so that trained networks in the future can be conveniently initialized with a more easily sharable config object. However, this means that our current demos will hit an error when we try to initialize the models with multiple kwargs as Ziming currently does it.
TODO: update the demos so that they actually run with the new code.
Our code will produce datasets, log metrics, and save model weights. Many of these files will be large and should not be committed to git. What should we use to? Note that we will want them in a place which will be easy for folks to access when they use our benchmark -- the whole point of the paper is to define a standard set of datasets and networks for people to analyze!
Some options:
Thoughts?
For the sake of consistency, it would be good if MLP and RNN model definitions were added to the neural_verification
module. This would make them easily importable in people's scripts for their respective tasks.
I think that train.py
scripts should save metrics (train and test loss and train and test accuracy if applicable) over the course of training. Good convention?
There are a bunch of methods included in the GPT implementation in neural_verification
that are unnecessary for our purposes. These have to do with loading up gpt-2 weights, etc. Get rid of them.
LayerNorms can make interpretability harder. Add a config in GPTConfig that specifies whether or not to use LayerNorms, and update the GPT implementation accordingly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.