How does chatGPT work? ChatGPT uses a machine learning technique called "transformers" to process and generate text. It is trained on a large dataset of human-generated text, which allows it to generate text that is similar to the style and tone of human writing.