GPT and diabetes mellitus: Model performance was compared to existing prediction models in internal (n = 3393) and external (n = 6246) validation datasets.<h4>Results</h4>The SELECT model included age, male sex, diabetes, serum albumin and alanine aminotransferase levels, platelet count, and ultrasound-detected cirrhosis and multiple cirrhotic nodules.