A seq2seq approach to symbolic regression