Token Probabilities

The Token Probability Viewer is a feature of NovelAI that assists users in determining why certain tokens were present in a given output.

Debugging Example
When using Token Probabilities to debug your outputs, consider the following example. Suppose the text in the image is our generation, and we consider "Mom" as the token that doesn't belong; for whatever reason, the probabilities for the "mom" token are really high and we don't expect this at all.

If the Before probability is already high, then the context before this token as well as the module we are using is what created this situation. The only way to avoid an incestual fate is to change modules, or write ourselves out of fucking our mom—or not, I'm not judging here.

If the After probability is what makes the token chance really high—redder—then something in the settings is causing this effect. In this case, we could modify biases of either the 'mom' token, or the culprits that lead usto incest; also, the preset might be doing it, so we could change it and see the results.