j-pong / HYnet2-summachine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HYnet2-summachine

Summarization machine for multilingual paragraphs and sentences using hybrid seq2seq ASR model

Installation

1. Installaion of docker for ssh env

cd docker

make _build

make run

2. Installaion of kaldi for utils

git clone https://github.com/kaldi-asr/kaldi kaldi

cd kaldi/tools
extras/install_mkl.sh -s
extras/check_dependencies.sh
make -j 28
extras/install_irstlm.sh

cd ../src/
./configure
make depend -j 28
make -j 28

3. Installaion of espnet for input pipelines

cd tools

./meta_installers/install_espnet.sh

4. Installaion of hynet for customizing egs

cd tools

./meta_installers/install_hynet.sh

Run example

  1. Set the DB path of egs/linersum/asr1/db.sh (i.e. LINERSUM)
  2. Set the DB path and run it with the following lines:
cd egs/linersum/asr1

# training
./run.sh --asr_tag {tag_name}

# training with stage
./run.sh --asr_tag {tag_name} --stage 2

Bugfix

matplotlib version error

  • Remove matplotlib at tools/espnet/setup.py that is included in requirements

About

License:Apache License 2.0


Languages

Language:Python 66.1%Language:Shell 26.7%Language:Makefile 5.8%Language:Dockerfile 1.4%