Or have the pet attack Gregorio the Brigand at the Skara Brae Ranger Huts, you're pet can't damage him but Gregorio can't damage them either. Then spam Weaken/Clumsy/Feeblemind like mad on your pet. So long as Gregorio is attacking the pet, your pet won't turn around and bite your head off. This also works when training pet on Shadow Ore Ele, just make sure the Shadow Ore Ele is attacking the pet that you're spamming spells on. I GM Resist on my pets within an hour and a half this way, including pet's that would otherwise be almost impossible to GM their Resist because of their' frailty, like my Giant Ice Worm, Frenzied Ostard, Giant Beetle and Black Horse.
Just tamed a Purple Jack Rabbit for my Pally/Swordswoman, thinking about GMing it's Resist then training it up a bit so it can train on a Shadow Ore Ele for the hell of it.