We present the determination of stellar parameters and individual elemental abundances for 6 million stars from similar to 8 million low-resolution (R similar to 1800) spectra from LAMOST DR5. This is based on a modeling approach that we dub the data-driven Payne (DD-Payne), which inherits essential ingredients from both the Payne and the Cannon. It is a data-driven model that incorporates constraints from theoretical spectral models to ensure the derived abundance estimates are physically sensible. Stars in LAMOST DR5 that are in common with either GALAH DR2 or APOGEE DR14 are used to train a model that delivers stellar parameters (T-eff, log g, V-mic) and abundances for 16 elements (C, N, O, Na, Mg, Al, Si, Ca, Ti, Cr, Mn, Fe, Co, Ni, Cu, and Ba) over a metallicity range of -4.dex < [Fe/H] < 0.6 dex when applied to the LAMOST spectra. Cross-validation and repeat observations suggest that, for S/N-pixel >= 50, the typical internal abundance precision is 0.03-0.1 dex for the majority of these elements, with 0.2-0.3 dex for Cu and Ba, and the internal precision of T-eff and log g is better than 30 K and 0.07 dex, respectively. Abundance systematics at the similar to 0.1 dex level are present in these estimates but are inherited from the high-resolution surveys' training labels. For some elements, GALAH provides more robust training labels, for others, APOGEE. We provide flags to guide the quality of the label determination and identify binary/multiple stars in LAMOST DR5. An electronic version of the abundance catalog is made publicly available.