Finding Foundation Models for Time Series Classification with a PreText Task