A week? How old is he? My boys are almost 6 years old and they still have 'accidents' in the house. I have to be on top of them all the time, taking them out every hour on the hour to make sure they have no desires to pee in the house. Sometimes if I am at work all day and don't come home on lunch, I come home to a mess. Try to potty pad train and keep your baby confined to a smaller area when you are not watching all the time.
Oh and give yourself a break!

You are not a failure because your pup has not been house broken in 1 week. Yorkies are sooooooooooo tough to house break.