I agree with Tom on this one. Get the carpet installed first, then install your baseboard trim. That way you can set the height of the baseboards etc. When I remodelled my house the carpet went down first, then the freshly painted baseboards. You won't have to worry about the installers scuffing the baseboards.
Good luck!