Text this: Dynamic risk prediction in financial-production systems using temporal self-attention and adaptive autoregressive models