It is also possible to constrain decoding of linearized trees and derivations to wellformed outputs.
we suggest a training strategy for the Transformer model (Vaswani et al., 2017) which gives improved performance for long sequences, like syntax representations, without requiring additional GPU memory.