Thanks for your quick response. I'm still having the same problem.
This is the notebook I'm looking at.
This is my user_dir and the file where I try to register my hparams.
Though very messy, this is the file where I train my transformer. I do believe that the hparams are set because tf tells me that the base learning rate matches the one I set in the `problem.py` file above. It tells me this in the printout to the terminal from tensor2tensor when I run the train option.
I looked at the link to the 'user_dir' example and also the 'adding-your-own-components' example. It has changed my code slightly but I do not get the notebook to run anyway.
Do you have any other examples? Thanks. This is my new listing (in part)