How to use custom positional embedding while fine tuning Bert

All you need is change BertEmbeddings class, you can build a new class and inherit BertEmbeddings.
You can follow the post.(I wrote the solution in it.)