This kind of pre-job training is best asked clearly. All the pre-job training I have seen is to train you for a few months without pay. Then you have to pay for changing jobs in advance.
To put it simply, you actually spent several months on training fees, but the company still thinks that you owe them money, and it will take you several years to pay it back.