What is src and tgt for a transformer model?

For nlp, I have understood that it might for instance be sentences in english and french, but what about other types of problems?

I have binary time series data, and want to do classification. What would be the input to a transformer (src and tgt)?

Transformers work with sequences of any kind.
So src is nothing but the sequence you know and tgt is the sequence you want to predict. Anyway there are many ways of using transformers so it’d better if you find a nice tutorial or a bunch of papers that give you some ideas.