You either admire your Father or dis-like him, either way he is the "man" that moulds you into what you perceive men to be.
If you didn't have a good relationship with your Father, and no other males were present in your life, to show you how great guys can be, should be, respectful etc then you don't know what you are looking for in a good man.
Now you do. Now you know exactly what you "do not" want in a man.
You are 23, young, baby is young and good for you to walk out. No child should be in that environment and no woman should cop that type of abuse. Nobody owns anybody you own yourself and in that, you share as two people.
Take time out for you and your baby, a good year, don't even think about dating, take this time to grow, get stronger and know what you want. And, give all that love to your baby and watch how she does the same back to you...