Efficient training of language models to fill in the middle