New transformer model

new transformer model
Merge pull request #207 from vanroyj/issue205_transformerLoss

New transformer model