Thanks for your reply and advice.
The guinea pigs are kept outside in the back garden in a hutch so this only becomes a problem when I take her out the back garden so I have resorted to keeping her on the lead when she is in the garden to keep her away from the pigs.
She is quite good with the ‘leave it’ command as I can hold a treat in front of her nose and say leave it and she won’t take it until I say ‘take it’.
I have noticed that when I am training her to do the things like leave it, take it, sit, lie down, paw etc she picks things up very quickly but it’s just a worry with the growling and snapping sometimes. Hopefully using the training you’ve mentioned she will pick this up quite quickly as well. Fingers crossed.