The top five m6A regulators (IGFBP2, YTHDC1, IGFBP3, ZC3H13, and METTL3) based on the importance score were used for establishing a nomogram model to predict the prevalence of CHP and IPF patients. The gene discussed is IGFBP2; the disease is idiopathic pulmonary fibrosis.