Molecular language models: RNNs or transformer?