The hybridization of central atom in dimer of BH3 and BeH2 is:
sp3, sp2
The boron atoms in diborane behave almost like a tetrahedral centre so we can make a case for sp3 hybridized boron atoms. For the Beryllium analogue, the beryllium atoms are nearly sp2 hybridized.