Wash the sweet potatoes thoroughly, peel them, boil, and mash.
Add sugar and butter to the mashed sweet potatoes and mix well.
Sift in all-purpose flour, baking powder, and cocoa powder. Add them to the sweet potato batter and mix.
Add milk to adjust the consistency of the dough.
Shape the dough into balls and place them on a baking tray.
Bake in a preheated oven at 180°C (356°F) for 20 minutes.