Typically, two Intel cores with hyperthreading are faster than four AMD cores, especially if the clock speeds are similar, which those are, and if the generations are within one or two generations of each other. Again, which those are. Graphics on the AMD chip, when used with fast enough RAM in sufficient quantity, is probably slightly better though.
I'd go with the Intel option. Especially if the unit you're looking at has any kind of discreet graphics adapter in addition to the iGPU.