There are three colleges in Amherst . The town is home to Amherst College , Hampshire College , and the University of Massachusetts Amherst , three of the Five Colleges . The town of Amherst is a politically liberal and active community due to the five colleges within the area .