After cleaning the carpet becomes damp and it naturally gives out a smell. The smell that you notice is actually of the moisture contained in the recently cleaned carpet. This goes very quickly as soon as the moisture is gone. The carpet will dry more quickly if air is circulated properly in the area. You can use fans, cooling systems, or even the windows to help circulate more air in the room.