Preheat your oven to 350°F (175°C). Line a muffin tin with liners or lightly grease with non-stick spray to prevent sticking.
In a mixing bowl, whisk together almond flour, powdered erythritol, baking powder, baking soda, cinnamon, nutmeg, and salt. Make sure everything is well combined to evenly distribute the flavors.
In a separate bowl, beat the eggs until smooth. Whisk in melted coconut oil (or butter), almond milk, and vanilla extract until the mixture is well blended.
Add the grated carrots and chopped walnuts or pecans to the wet ingredients, stirring gently to combine.
Pour the wet ingredients into the bowl with the dry ingredients. Stir gently with a spatula until just combined—be careful not to overmix, as this can make the muffins dense.
Spoon the batter evenly into the muffin tin, filling each cup about three-quarters full. This will give the muffins room to rise as they bake.
Place the muffin tin in the preheated oven and bake for 20-25 minutes, or until the tops are golden and a toothpick inserted into the center comes out clean.
Allow the muffins to cool in the tin for 5 minutes, then transfer them to a wire rack to cool completely. Enjoy them warm or at room temperature.