A behavioural transformer for effective collaboration between a robot and a non-stationary human