Electron transfer mechanism and the locality of the system-bath interaction: A comparison of local, semilocal, and pure dephasing models