Any idea what causes this?

Got it running. I can shift the transmission throughout the gears and it idles down a good bit but doesnt die. BUT...when I go to take off it dies unless I pat the gas. I can not get it to pull out without pumping the gas pedal, HELP!! lol