Hello I have another hybridization question.

For example in BeF2 ... the electron configuration is 1s2, 2s2, 2p1. It gets hybridized to 1s2, 2s1, 2p2. I know that it will be a sp2 hybridization but I'm not exactly sure why. It's because the last p orbital has 2 electrons right? I'm not totally sure so I want to be positive. Please help thank you!

Be is 1s2 2s2. There are only four electrons.