I want to modify bert embeddings (multiply bert embeddings with a vector) and forward it to bert encoder layer
bert = AutoModel.from_pretrained(‘bert-base-uncased’)
How to modify embeddings
I want to modify bert embeddings (multiply bert embeddings with a vector) and forward it to bert encoder layer
bert = AutoModel.from_pretrained(‘bert-base-uncased’)
How to modify embeddings