If you ever watch puppys play you may notice that puppy A bites puppy B's ear and tugs a little bit. Puppy B yelps and stops playing with puppy A.
If you apply this to your biting dilemma, the next time your puppy bites you, make a loud "yelping" sound or just say outch! And ignore your puppy...