Well, let's assume you want to pay off the loans in the quickest possible time
Assume you get a job paying $250K with partnership @350K after 2 years. Assume you have been living on $37.5K/yr throughout residency ($50K with an effective total tax rate of 25%) and want to spend $75K/yr after residency. Remaining income will be devoted to repaying loans
Year 1 & 2 - $250K/yr $100K taxes. $150K take home - $75K spent, $75K to loan repayment.
Year 3 & 4 - $350k/yr $150K taxes - $200 take home, $75K spent, $100K loan repayment
There you go - 4 years, $350K of loans repaid.
You can wiggle the details around a bit, but it's about right. You can't pay off your loans in a year or two, and you can pay them off in much less than 10 years should you desire while still substantially improving your standard of living compared to residency.