Code Monkey home page Code Monkey logo

lab2's Introduction

Lab 2 setup

Following the feedback from lab 1, we have made some changes to the installation procedure.

You can now use either Anaconda version 2 or 3 to create virtual environments for Machine Translation lab work.

Importantly, we are aligning more closely to the setup of the MLP course. The MLP github page includes detailed instructions for setting up Anaconda and Jupyter notebooks. However, please note that the environment names, packages and the python versions used may differ.

Anaconda installation

Anaconda should be setup on your DICE machines if you followed along lab 1

If not installed, instructions are as follows:

Download Anaconda

Open a terminal on the DICE machine and then type the following command:

wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh

Virtual Environment for lab 2

We will create a new environment for python 3 using conda. These commands will work with both Anaconda 2 and 3.

Create the environment and install packages by entering the command:

conda create --name mtenv python=3
source activate mtenv
conda install seaborn pandas jupyter matplotlib
pip install tqdm
pip install chainer
conda clean -t

Download the lab materials

git clone https://github.com/INFR11133/lab2.git
cd lab2

Start Jupyter notebook by entering the command:

jupyter notebook

Open the notebook char_language_model.ipynb

The datasets for this lab are:

data/mickiewicz.txt
data/tinyshakespeare.txt

lab2's People

Contributors

ida-szubert avatar 0xsameer avatar

Watchers

James Cloos 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.