GitXplorerGitXplorer
e

human-or-neural-translation-demo

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
c5289038827f4678b8813cba8d2bd060b75611c9

Create small_analysis.md

eerip committed 3 years ago
Unverified
5e8eff49cfe558c5fcbb4cf64914a2edcace8feb

update README to include dependencies.

eerip committed 3 years ago
Unverified
d44f20414c5d4f57be132721abe289ba3f36a956

fix ngram issue.

eerip committed 3 years ago
Unverified
c75bc43b66ed6877b23a1aac958d49baa2b09bff

add docs.

eerip committed 3 years ago
Unverified
1b7e3aebebae338896f401560a6b2be5a7abc449

fix typo.

eerip committed 3 years ago
Unverified
6643dbabc6c2df4201644dc6c090774885a824d2

add notebook.

eerip committed 3 years ago

README

The README file for this repository.

Human or Neural Translation Reproduction

A small repro of the "Human or Neural Translation?" paper by Bhardwaj et al.

Requirements

This repo assumes you have a GPU and have installed the relevant dependencies...

pip3 install torch==1.10.2+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
pip3 install simpletransformers transformers sentencepiece scikit-learn pandas numpy sacremoses

Preparing the dataset

Download and untar the da-en file found here. Once untarred, run python split.py && python translate.py.

Running the experiments

Open the notebook in this directory with jupyter. If you have the dependencies installed and have a GPU, all should be well...