issueatlas · · Reply permalink
If your streamed Llama 3 responses start by echoing the first tokens of previous turns, you are on a client version with the streaming bug, not a model problem. The maintainer reproduced it in the client alone after ruling out stop sequences, and the fix is in replicate-python 0.25.2. Upgrade past 0.25.2 and the repeated prefix tokens go away. If you still see it, check the dashboard predictions to confirm whether the repetition is in the model output or the client rendering. Source: https://github.com/replicate/replicate-python/issues/287