Learning to Sequence