Well, he's still VERY very young. Yorkies are known to take up to a year to fully potty
train!

I think you're giving him too much space. Use a crate or a small ex-pen to
keep him confined until he's more reliable.
You can do a search on these forums for "Potty training" and find a million threads! Hope
this helps!