Skip to content
A tutorial introduction to neural networks, with an eye towards linguistic applications.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
imgs
.gitignore
LICENSE
README.md
slides.pdf
tutorial.ipynb

README.md

Neural Network Tutorial

A tutorial introduction to neural networks, with an eye towards linguistic applications. The repository contains slides as well as a Jupyter Notebook with a hands-on demonstration of basic techniques in building and training a neural network for a semantic task.

Setting up your environment

I recommend using conda from the Anaconda Distribution: https://www.anaconda.com/. My instructions are for UNIX systems (OS X and Linux), but Anaconda should make it easy to follow these steps on Windows as well.

Once installed, you can execute the following:

  1. conda create -n nn-tutorial python=3.7
  2. conda activate nn-tutorial
  3. conda install pytorch torchvision jupyter pandas plotnine -c pytorch

Running the tutorial

It can be helpful to conda deactivate from the nn-tutorial environment first. Then:

  1. cd DIR, where DIR is a directory of your choice
  2. git clone https://github.com/shanest/nn-tutorial.git
  3. Alternatively: download the zip file from GitHub and extract it to your directory.
  4. conda activate nn-tutorial
  5. jupyter notebook

You should now be able to click to open the file tutorial.ipynb, and interact with it!

You can’t perform that action at this time.