Hitting a pup is never going to work. The only thing you might gain is a pup that fears you. Positive, positive, positive! As long as he is playing, encourage him. When/if he bites you, say "ouch" loudly. Often that will stop them. You just have to be consistent about whatever you do. If he is out of control, pick him up and put him in jail for a few minutes...crate, gated room...just away from you. Don't leave him there long...just enough to let him know that if he does not behave in an acceptable way, he will lose the privilege of being with his family.
You might want to look into the training methods of Tamar Gellar.
Tamar Geller - Home