marian-nmt / marian

Fast Neural Machine Translation in C++
https://marian-nmt.github.io
Other
1.23k stars 228 forks source link

what the difference of dropout and dropout_src ? #265

Closed wangwang110 closed 5 years ago

wangwang110 commented 5 years ago

batchEmbeddings = dropout(batchEmbeddings, dropoutSrc, {srcWords, 1, 1}); I am not familiar with c code , can you help me to understand the dropout_src method ?

snukky commented 5 years ago

I believe we've answered your original question in our GEC repo: --dropout-src zeroes some source-word embeddings.