Behind the song
In 2013, Tomas Mikolov and colleagues studied words stored as lists of numbers. They showed that these lists can hold relations between words. In their work, the numbers for "king", minus "man", plus "woman", landed very close to the numbers for "queen". In 2017, a team at Google described the Transformer, a design that reads each word together with the words around it. The T in GPT stands for this Transformer. Training these tools uses a lot of electricity: one 2021 estimate for training GPT-3 was about 1,287 megawatt-hours.
