Refactor from_pretrained method for robust model loading and improved error handling 9f27427 vincenzocivale commited on Oct 4, 2025