Can I deduct student loan interest as a cosigner on a loan and have been solely paying?

I am legally obligated to pay the loan as a cosigner, but the 1098-E is in his name. He has not paid any of the loan or interest. He has given me the 1098-e and will not be claiming the interest on his taxes. We will both be filing as single with no one else claiming us dependents.