Steam the pumpkin, remove the skin, and mash it.
Add eggs, cocoa powder, almond flour, baking powder, milk, and erythritol into a bowl and mix well.
Add the mashed pumpkin to the batter and blend evenly.
Pour the batter into a mold and bake in a preheated oven at 180°C for 25 minutes.
Let cool and slice for serving.