Giter Club home page Giter Club logo

neuralmonkey's Introduction

Neural Monkey

Build Status

Neural Sequence Learning Using Tensorflow

The Neural Monkey package provides a higher level abstraction for sequential models, most prominently in Natural Language Processing (NLP), built on TensorFlow. It can be used for fast prototyping of sequential models in NLP which can be used e.g. for neural machine translation or sentence classification.

The higher-level API brings together a collection of standard building blocks (RNN encoder and decoder, multi-layer percetpron) and a simple way of adding new building blocks implemented directly in TensorFlow.

Usage

neuralmonkey-train <EXPERIMENT_INI>

Package Overview

  • bin: Directory with executables and tools
  • examples: Example configuration files for ready-made experiments
  • lib: Third party software
  • neuralmonkey: Python package files
  • tests: Test files

The neuralmonkey package is organized into subpackages as follows:

  • encoders: The encoders (get sequences of data and encode them)
  • decoders: The decoders (get outputs of encoders and decode them)
  • nn: The NN (as in Neural Network components)
  • trainers: The trainers (train the whole thing)
  • runners: The runners (run the trained thing)
  • readers: The readers (read files)
  • processors: The pre- and postprocessors (pre- and postprocess data)
  • evaluators: The evaluators (used for measuring performance)
  • config: The configuration (loading, saving, parsing)
  • logbook: The Logbook (server for checking up on experiments)
  • tests: The unit tests

Additional Scripts

  • caffe_image_features.py extracts features from images using pre-trained network
  • install_caffe.sh installs caffe including prerequisites
  • precompute_image_features.py deprecated
  • reformat_downloaded_image_features.py deprecated
  • tokenize_data.py tokenizes data
  • tokenize_persistable.sh manages the tokenize_data script

Installation

  • Install Tensorflow by following their installation docs here
  • Clone this repository and follow the installation procedure outlined in prepare_env.sh. If the training crashes on an unknown dependency, just install it with pip.

Related projects

  • tflearn -- a more general and less abstract deep learning toolkit built over TensorFlow
  • nlpnet -- deep learning tools for tagging and parsing
  • NNBlocks -- a library build over Theano containing NLP specific models

License

The software is distributed under the BSD License.

neuralmonkey's People

Contributors

jlibovicky avatar jindrahelcl avatar tomasmcz avatar

Watchers

James Cloos avatar  avatar

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.