Deductions & credits

Hello Lina! I have a question about what form should I file among 1040 and 1040NR. I was on F1 visa from July 24, 2015(US entry date) through Sep 30, 2020. Starting Oct 1, 2020 I am on H1B. What tax should I file for? Appreciate your response!

Thanks,

NJ