The employee training agreement can be used as a part of the labor contract, especially for employees.
You didn't even sign the labor contract, and the training agreement can only be regarded as a pre-job training agreement, which should be provided by the company free of charge, so it is unreasonable to ask for compensation, even if a two-year service period is stipulated, it is useless.
Pat your ass and leave. He can sue anywhere he wants.