An artificial-intelligence approach borrowed from natural-language processing — much like language translation and autofill for text on your smart phone — can predict future fault friction and the next failure time with high resolution in laboratory earthquakes,. The technique, applying AI to the fault’s acoustic signals, advances previous work and goes beyond by predicting aspects of the future state of the fault’s physical system.