The data deposited here are the input data used for our machine learning efforts for predicting solar flare intensities. The input data are produced by our pre-processing pipeline, which is built to extract useful data from multiple sources -- Geostationary Operational Environmental Satellites (GOES) and Solar Dynamics Observatory (SDO)/Helioseismic and Magnetic Imager (HMI). These input data files are GOES_flare_list.csv, and SHARP_with_flares_data.hdf5. The GOES files provide a list of 12,013 flare events (during 05/01/2010 to 06/20/2018) while the SHARP files provide time sequences of physical parameters derived from 860 HMI Active Region Patches (HARPS) from which the flares originated. The original data are Space-Weather HMI Active Region Patch (SHAPR) data are available online from the Stanford Joint Science Operations Center (JSOC) at http://jsoc.stanford.edu/. GOES data are available from NOAA Space Weather Prediction Center (SWPC) at https://www.swpc.noaa.gov.