Well a few clarification is needed here. First of all it was not Taliban who fought again Soviet. Taliban was the product of Afghan civil war which happened after the Soviet left and due to incompetence of Afghan government in 1990 specially after The rule of president Rabbani. Taliban came to power around in 1995 and swept in 95% of Afghanistan. The Americans did not train them and neither Pakistan provided any military or Financial assistance except Political support. Taliban were the young student of Kandahar religious schools with Mullah Omar their leader. Mullah Omar never fought in Soviet as he was a kid in those time.
The people who fought again Soviet in 1979 till 1988 were the likes of Ahmed Shah Masood, Rabbani, Rasheed Dostum and Gulbadin Hikmat Yaar. These were called as Mujahideen and invited to the White House. They all fought against Soviet with the help of Americans and Pakistanis. These are not Taliban as All of them later fought against Taliban under Northern Alliance umbrella.