Investigation of chemical structure recognition by encoder-decoder models in learning progress