Helium is preferred to hydrogen for filling balloons
1.weather balloons will float in atmosphere to gather weather data. They have weather sensing tools that collect data on temperature, humidity etc
2.Hydrogen being an inflammable gas catches fire easily. (combustible )
3. When weather balloons move to high altitudes in the atmosphere, the air becomes thin and the protection of the ozone layer also decreases. So, sometimes, the ultraviolet radiations react with Hydrogen and can cause a blast.
4.The next lighter gas being He is nonflammable and does not catch fire. (non combustible)
5.So with He there is no such problems and it is considered safe.