Thermodynamics of amorphous magnets with ferromagnetic and antiferromagnetic coupling