Representation of spectra for the model We represent the spectra as follows: the C NMR as a binary value vector, where there is positional encoding of the chemical shift value (in ppm). The range of the shifts is 0 ppm to 300 ppm; thus, each bit of the initial vector represents a range of circa 0.59 ppm. The range choice is based on the dataset's distribution of chemical shifts.