Sequence models for by-trial decoding of cognitive strategies from neural data