Skip to content

pmichel31415/dynet-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynet tutorials

Dynet is an automatic differentiation toolkit used mainly to train neural networks.

This repository contains a few tutorials in the form of jupyter notebooks to get familiar with dynet's API and workflow through simple and (hopefully) fun examples not necessarily related to machine learning.

Notebooks

  1. Approximating sqrt(2) with gradient descent: basic workflow and objects
  2. Visualizing the Mandelbrot fractal: example of simple operations
  3. Visualizing the Barnsley fern fractal: affine transforms, gumbel trick
  4. Variational image denoising: conv2d, optimization

This list will be updated as I add notebooks

Installing dynet

You should be able to install the latest version of dynet by running

pip install git+https://github.com/clab/dynet#egg=dynet

on unix systems. Alternatively you might want to perform a manual install (see the related documentation).

Documentation

For a more exhaustive overview of the dynet API please refer to the official documentation. In particular you might be interested in the python API and the various examples there.

License

This repository is under the MIT license (so basically you can use the code for anything you want). If you end up using dynet in one of your research projects, please consider citing the relevant publication:

@article{dynet,
  title={DyNet: The Dynamic Neural Network Toolkit},
  author={Graham Neubig and Chris Dyer and Yoav Goldberg and Austin Matthews and Waleed Ammar and Antonios Anastasopoulos and Miguel Ballesteros and David Chiang and Daniel Clothiaux and Trevor Cohn and Kevin Duh and Manaal Faruqui and Cynthia Gan and Dan Garrette and Yangfeng Ji and Lingpeng Kong and Adhiguna Kuncoro and Gaurav Kumar and Chaitanya Malaviya and Paul Michel and Yusuke Oda and Matthew Richardson and Naomi Saphra and Swabha Swayamdipta and Pengcheng Yin},
  journal={arXiv preprint arXiv:1701.03980},
  year={2017}
}

About

Simple tutorials for dynet

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published