What to do when our hamsters eat their babies? How do we keep them alive?

We had 2 hamsters that had babies and now the moms are eating them. is there any way to help the babies to keep them alive. they are only about a week old.

placeholder text for bug in Chrome