A PyTorch implementation of neural encoder-decoders.
- Python 3.6 (confirmed with Python 3.6.6. Pytho 3.5 is also maybe ok.)
- See
requirements.txt
for other libraries
pip install -r requirements.txt
python setup.py install
konnyaku_train -c conf.ini -s <src_file> -t <trg_file> -e <epoch> -b <batch_size> -g <device_id>
konnyaku_eval -c conf.ini -m <model_file> -s <src_file> -t <trg_file>