[training] initial support for template trainings