Another transformer model , with a primary task to generate molecules with optimized LogD and solubility. However, this time it is a multi-head self-attention encoder-decoder transformer with masking mechanisms. For the source and target molecules they were obtained from the Matched Molecular Pairs provided by ChEMBL, with SMILES representation. Moreover, two transformers were tested; a conditional transformer, and an unconditional transformer depending on source molecules only. At the end, both transformers generated target molecules with the properties desired; ten novel and valid molecules were generated, and the performance was comparable to other benchmarks. However, the conditional model generated a higher number of successful molecules compared to the unconditional transformer.