training of modeling