This method works fast but needs complete consistency.
First bite: Sternly state "No biting" and remove the infant from the breast and sit them away from you for 5 mins. If the baby cries for you or the breast, WAIT until the full 5 minutes if over.
2nd bite: Sternly state "No biting" and remove the infant from the breast and sit them away from you for 15 mins. If the baby cries for you or the breast, WAIT until the full 15 minutes if over.
3rd bite: Sternly state "No biting" and remove the infant from the breast and sit them away from you until the next nursing session. If the baby cries for you or the breast, console but do not allow to breastfeed until the next nursing session (at least an hour).
This should take between 1-3 days to change the behavior that as soon as you say "No biting" sternly, she will immediately stop. Nothing wrong with teaching older infants nursing manners... that way you don't feel forced to force wean them before they are ready.