Text this: Efficient Structured Prediction with Transformer Encoders