I have a pair that do this, the male, actually, does this. I say BE NICE, in a stern voice. I also make sure I talk to them and tell them what I am doing etc. I will/have also pushed, firm but gently, down on the head/neck area to show dominance. Mother rabbits do this, I will also place my chin over his head and rub and gently push down then we snuggle after a bite session so my sent it recognized as dominant so he is less likely to bite...it has helped. But sometimes he still gets me. He will sometime bite at his sister when we feed, change the water bowl and then grunt and attach us...it's gotten better, as I said, sometimes he backs off when I say BE NICE, or he will lunge and then pull back.
It's strange because he is super snugly when out of his cage, purrs and wants to be held close...so I when I take him out I tell him nice boy and will give some pellets, or freshies (veggies/herbs) so he understands that being nice is good/rewarded. I think that helps when using the word association.
But sometimes he still bites when in his cage...it happens.