I want to multiply the word-embeddings of BERT by some vector before passing it to the next operation in encoder/decoder.
How can I do that after I downloaded the pretrained BERT base?
Thanks
I want to multiply the word-embeddings of BERT by some vector before passing it to the next operation in encoder/decoder.
How can I do that after I downloaded the pretrained BERT base?
Thanks