Learning Blate Template