We fed 270,000 words spoken by Trump into a computer program that studies language patterns. This system analyzed his word choice and grammar, learning how to simulate Trump’s speech. Here is the speech written entirely by artificial intelligence.
When prompting the neural network for written output, the system allows the user to select a “temperature”, which tells the program how creative or daring to be with its word choice. At low temperatures, the neural network always chooses the most-likely next character as it’s generating a sequence, while at high temperatures it will choose a character that’s farther down the probability list.
Donald Trump played by John Di Domenico
Recurrent Neural Network run by Janelle Shane
Still haven’t subscribed to The New Yorker on YouTube ►►
CONNECT WITH THE NEW YORKER
Want even more? Subscribe to The Scene:
A Trump Speech Written By Artificial Intelligence | The New Yorker