Comparative study of sequence-to-sequence models: From RNNs to transformers | Synapse