Closed alsm168 closed 4 years ago
I think that in the acoustic model, the role of mask is not particularly obvious, so there is no mask added. If you really need a mask, you can follow the method in transformer. locate in:
LMmodel/tf2_trm.py
create_masks() #from tensorflow offical guide
------------------ 原始邮件 ------------------ 发件人: "Z-yq/TensorflowASR" <notifications@github.com>; 发送时间: 2020年10月14日(星期三) 下午2:53 收件人: "Z-yq/TensorflowASR"<TensorflowASR@noreply.github.com>; 抄送: "Subscribed"<subscribed@noreply.github.com>; 主题: [Z-yq/TensorflowASR] mask of multiheadattention in conformer ? (#8)
Hi I see the multiheadattention in conformer needs mask, Is there the code to generate the mask? thank you
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
ok,I'll try it later,thanks
Hi I see the multiheadattention in conformer needs mask, Is there the code to generate the mask? thank you