It depends on the commercial value of the patent. Valuable patents, of course, bear their own names, which can be used or transferred for profit in the future. Of course, others will be written in the school, and their personal names will be on it. Don't pay for yourself, fame and fortune.
It is very humane for the school to give you such a choice, support college students' innovation and praise your school.