Text this: Phase transitions in neural networks