Why do you say there's no public training data? It's not like people don't discuss and practice code golf on the internet.
https://codegolf.stackexchange.com/
https://codegolf.stackexchange.com/