How to save a modified transformer model for reuse?

There is a nice example of how to use GPT or BERT for sentiment analysis:

Use of transformer neural networks

How and in which format do I have to save / export a modified transformer model for reuse or sharing?

Hi Jürgen

You can Export and Import using the WLNet format.

Thank you, Rohit.