Postfabrication heat treatments in dry helium are shown to produce greater than tenfold improvement in the range of adaptability of the transfer characteristics of adaptive thin-film (Te or CdSe) resistors and transistors. Improved device performance is attributed to removal of water vapor from the ferroelectric (TGS) material.