tma15 / konnyaku

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Konnyaku

A PyTorch implementation of neural encoder-decoders.

Requirements

  • Python 3.6 (confirmed with Python 3.6.6. Pytho 3.5 is also maybe ok.)
  • See requirements.txt for other libraries

Install

pip install -r requirements.txt
python setup.py install

Training

konnyaku_train -c conf.ini -s <src_file> -t <trg_file> -e <epoch> -b <batch_size> -g <device_id>

Evaluation

konnyaku_eval -c conf.ini -m <model_file> -s <src_file> -t <trg_file>

About


Languages

Language:Python 100.0%