Regression problem using transformer

Hello All,

I am new to the field of transformers. I need to write a transformer model to perform a regression problem (not forecasting). I could not find any tutorial/example. If it happens that you know one, please share the link to the tutorial/example.

Thanks