When a pure semiconductor is heated, its resistance decreases.
When the temperature is raised, some covalent bonds in the semiconductor break due to the thermal energy supplied. The breaking of the bond set those electrons free which are engaged in the formation of these bonds. These free electrons can constitute a tiny electric current if the potential difference is applied across the semiconductor. Hence, the resistance decreases with the rise in temperature.