Making the model ignore padding tokens is trivial using Keras: simply add mask_zero=True when creating the Embedding layer. This means that padding tokens ...
確定! 回上一頁