No. You do not have to file too but you will be responsible for the loan you signed..
If you are a personal guarantor, you remain obligated to pay the loan even if your boyfriend files bankruptcy. You aren't required to file bankruptcy too, but you remain responsible for paying that debt.