2 years fixed-term apprenticeship agreement

I just received a job offer, but I’m hesitant because of the two-year fixed-term apprenticeship agreement. Is it possible to request the company to shorten the duration of the agreement?