If you can learn something, I suggest you complete the training and increase your ability.
Unless you signed a training or training contract when you joined the company, the company has no right to ask you to give the company training fees when you leave. This is illegal and you can apply for labor arbitration. And once signed, try not to violate it, because the liquidated damages are really expensive and the average person can't afford it, so be sure to pay attention when signing the contract.