3 ms·
I've had the issue of generating random code after the completion with other models as well; it's due to how the models are trained. You need to stop generating
by radq 3y ago
I've had the issue of generating random code after the completion with other models as well; it's due to how the models are trained. You need to stop generating when you encounter token(s) that indicate you're done - see https://huggingface.co/replit/replit-code-v1-3b#post-processing https://huggingface.co/replit/replit-code-v1-3b#post-process...