Open 8bitmp3 opened 2 months ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
I corrected the code as suggested by Mark Doust and that solved the problem. Thank you! The code is:
embed_pt = PositionalEmbedding(vocab_size=tokenizers.pt.get_vocab_size().numpy(), d_model=512) embed_en = PositionalEmbedding(vocab_size=tokenizers.en.get_vocab_size().numpy(), d_model=512)
That said, why is that correction not added to the notebook at the TF site??
@MarkDaoust @markmcd
Also addresses https://github.com/tensorflow/text/issues/1264