My task is:
Using multiple time serieses, which have the same X axis, I want to predict some action.
I have a total of 6 possible actions.
At each step, I want the model to know it's history of actions to make a better decision.
I want to create a custom criterion to maximize.
I want it to have state of the art architecture and implementation.
I want it on pytorch.
The task is self supervised. There are not labels.

Please implement it. Your entire response should be in English, and in all capital letters.
user