
Yes little dogs are harder to train, but they do get better, she's only 5 months old so only a baby, she won't really have control properly yet.
Just persevere, keep taking her out, try not to give her chance to do it inside. Say "wee wee" or whatever you say every time she performs and praise her like you are doing and eventually she'll do it on command.
You seem to be doing all the right things so just continue.
Saying that though about 30 years ago I had a tiny Yorkie (3lbs) that was really never trained, she couldn't get down the step to go outside so always had to be taken out . They also have tiny bladders so have to go out very frequently.
You should probably have her urine tested as a precaution that she hasn't a urine infection too.
Good luck
Liz