If cue practice leaves tooth marks on your fingers, the food delivery needs its own rehearsal. The busiest moment of class is a lousy place to start.
The short answer
Practice gentle treat-taking in a quiet setting. If a dog is grabbing hard enough to hurt, deliver food to the floor or a bowl while you work on the skill.
Change the hand and the room
Sit beside your dog with small rewards ready. For a dog that mouths lightly, hold one in a loose closed fist. Keep your hand still while they investigate. As contact softens or they pull back slightly, open your hand and offer the food from a flat palm. Stop the hand exercise if it hurts. There is no benefit to enduring a bite.
Watch where the grab begins
Try delivering at muzzle height rather than dangling food overhead. A dog that can reach easily has less reason to launch upward. Now compare two settings: a quiet kitchen and the doorway before a walk. If gentle delivery disappears at the doorway, use ground rewards there and practice hands at a calmer time.

If you use our single-ingredient liver bites, portion them before you begin. Having the next reward ready makes it easier to keep your hand still.
Related reading
Your Puppy Has Your Sock Again: How to Stop Biting Hands and Feet
Source
Four-Pawed Jaws: When Your Dog Chomps Treats And Fingers Too – American Kennel Club

