Skip to content
This repository has been archived by the owner on Jan 22, 2020. It is now read-only.
/ bytenet.pytorch Public archive

A pytorch implementation of the Bytenet network for neural machine translation.

Notifications You must be signed in to change notification settings

dhpollack/bytenet.pytorch

Repository files navigation

Bytenet - A Pytorch Implementation

Introduction

This is a PyTorch version of Bytenet, a fully convolutional encoder-decoder network for machine translation. Notable features of this network include the stacked nature of the encoder and the decoder, the dilated (atrous) convolutions of exponentially expanding size in the encoder and decoder, and the masked (casual) convolutions in the decoder.

Requirements

Datasets

How to use

  • Install PyTorch. I suggest using Anaconda
  • Clone this repo
git clone https://github.com/dhpollack/bytenet.pytorch.git --recursive
  • Download and unzip datasets
  • Edit, config.json to point to the location of your datasets
  • Train full network
python train_bytenet_wmt.py
  • Predict training samples
  • Score predictions with sacrebleu

About

A pytorch implementation of the Bytenet network for neural machine translation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages