Before you do anymore breeding I'd suggest doing some mega-research into these kinds of things.
The female betta attacking the male is not uncommon whatsoever and breeding bettas is NOT so easy as just putting opposite sexes together then playing some Barry White for them!
They should only be put together when they're of the right age to breed and ready then only for as long as it takes them to "do their thing". Once the female lays the eggs you have to take her out. The male does all the work of caring for the eggs, putting them in the bubble nest he built and putting them back if they fall out, but once they hatch he should be taken out too. They also need enough room (those itty bitty bowls they come in just won't really cut it for breeding purposes) and bettas do better in warmer water than people are lead to believe. Not to mention getting them in shape to breed and then feeding them both and the fry later the right foods. Lots of people feed those dried bloodworms. Bleh
The very least I give the bettas at our store is thawed, frozen bloodworms and there's a definite difference! They LOVE the frozen ones! I've even had some jump up and bite the syringe when I feed!
Both guppy and betta breeders have their own shows, clubs, the works. I'd suggest doing a search for one of those to get the right info for your future breeding projects to see how to do it right.