GithubHelp home page GithubHelp logo

introspect's Introduction

introspect

This project aims to discover how neural networks—and specifically LSTMs—represent knowledge. I believe that this is a relatively unexplored question, yet it could be essential to the future of deep learning. By understanding how neural nets represent knowledge, we may be able to build better architectures or even invent new training algorithms.

Tools

Currently, this repository comes with two tools: a CLI called rnntool, and a web application called inspector.

rnntool

This CLI tool is useful for creating, training, and benchmarking neural networks. It makes it possible to interactively conduct experiments with neural networks.

Here is an example in which we train an LSTM on the XOR task:

$ go run *.go
> new LSTM(1,5) Dense(5,1)
> cost xor(10) 100
Total cost: 694.6731270040516
Average cost: 6.946731270040516
> train xor(10) 10000 0.001
> cost xor(10) 100
Total cost: 0.6121579607608016
Average cost: 0.006121579607608016
> save trained_xor

Commands in rnnblock deal with a global RNN block. The global block can be set using the new command, creating a randomized RNN with the specified structure. The global block can also be set using the load command, which loads a block from a file.

You can run the help command for more details on usage.

inspector

This tool helps you view and edit the weights and biases of an RNN. It allows you to load a neural network file (potentially created by rnntool) and navigate its structure. You can then save your changes back to a file.

introspect's People

Contributors

unixpickle avatar

Stargazers

5l1v3r1 avatar

Watchers

 avatar James Cloos avatar  avatar

Forkers

5l1v3r1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.