marian-nmt / marian

Fast Neural Machine Translation in C++

Home Page:https://marian-nmt.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nematus model incompatible with marian-server executable

dexception opened this issue · comments

Feature description

Kindly point me right direction as I want to use the nematus model in server mode in python. I think it is incompatible with marian-server executable. Please help.

Example

Right Now I am using translation on the command line:

./build/marian-decoder \
        --dim-emb 500  \
        --type nematus   \
        --models wmt17_systems/zh-en/model.l2r.ens1.npz \
        --vocabs wmt17_systems/zh-en/vocab.zh.json wmt17_systems/zh-en/vocab.en.json   \
        --dim-vocabs 74791 64163    \
        --enc-depth 1     \
        --enc-cell-depth 4   \
        --enc-type bidirectional    \
        --dec-depth 1    \
        --dec-cell-base-depth 8    \
        --dec-cell-high-depth 1     \
        --dec-cell gru-nematus \
        --enc-cell gru-nematus    \
        --tied-embeddings true    \
        --layer-normalization true \
        -n 1 \
        -b 12 \
        -d 0