Machine learning of evolving physics-based material models for multiscale solid mechanics