Berillium hydride has sp hybridisation. This gives it linear shape that is H-Be-H. Now even though the individual Be-H bonds are polar (due to difference in electronegativites between the atoms) the net dipole moment comes out to be zero because dipole moment is a vector quantity, the two vectors that is Be-H bonds are of equal strength and are in opposite directions, so they cancel each other giving rise to zero dipole moment.