The happy moments on this page are generated using machine learning, which is a type of artifical intelligence. Specifically, a pre-trained language model (GPT-2) is used to predict the next words that are output, similar to how autocomplete works on your phone. By giving it additional training on human happy moments, we are able to have it create new, computer-written happy moments.



