Optimizing AI Inference at Character.ai
research.character.ai
research.character.ai
This gives you the same "no mismatch between training and predict", and was a standard technique back in vision days (~2018).
I would be curious how this differs from [1] which is supported in Huggingface’s transformers library.