Create an automated tool to compute the 'spectral entropy collapse' signature in transformers. This provides a clear metric for predicting exactly when a model will generalize during long training runs.