Text this: Physics-informed transformation toward improving the machine-learned NLTE models of ICF simulations