You can require repayment if you include that language in your offer of employment letter, which the person signs indicating understanding and concurrence.

Or for employees already on board, you could have a pre-training agreement signed by each employee saying that she understands that she is committing to stay on board for a specified period of time following the training session or else be required to repay the company for the full cost of the training.