The structure of amorphous CeFe2H3 and GdFe2H3 alloys produced by hydrogenation is investigated and compared with that of amorphous CeFe2 and GdFe2 produced by high-rate DC sputtering. Distinct different structural features, characterized by an almost resolved first peak of the RDF of the former were found.