Text this: Machine learning models for predicting geomagnetic storms across five solar cycles using Dst index and heliospheric variables