sentence1: variants of the transformer have achieved state-of-the-art performance in many tasks including language modeling .
sentence2: its use in both encoder-decoder and feedforward contexts has led to faster training and state-of-the-art results in translation , sentiment analysis , and other tasks .