Install
- clone this project
- put glove in data/glove.840B.300d.txt
- download model.zip from slack and extract to model directory
- Edit model/da_cnn/checkpoints/checkpoint. Remove pathes except model-134900.
- install nvidia-docker
How to run
-
sudo nvidia-docker run -w /app -p 1990:1990 -v {/path/to/convai_docker}:/app calee/kaib python run-demo-simple.py --> https server execution
-
CC mode example python get_answer_cnsl.py --paragraph "dummy" --question "who are you ?"
-
QA mode example python get_answer_cnsl.py --paragraph "sample paragraph ha ha ha" --question "what is the name of sample paragraph ?"