If the laborer violates the service period agreement, he shall pay liquidated damages to the employer in accordance with the agreement. The amount of liquidated damages shall not exceed the training expenses provided by the employer. The liquidated damages that the employer requires the laborer to pay shall not exceed the training expenses that should be shared for the unfinished part of the service period.
If the employer and the employee agree on the service period, it will not affect the employee's improvement of labor remuneration in accordance with the normal wage adjustment mechanism during the service period.
To sum up, you can pay the company's training expenses at most, and the compensation amount of your company = the total amount of training expenses * means that the labor contract expires, which is illegal and therefore invalid for you.