Hi, a dev here. </s> means "end of sequence" for LLMs. If a model generates it, it forgets everything and continues with an unrelated random text. So I don't think that malicious actors are involved in this case.
Apparently, the Colab code snippet is just too simplified and does not handle </s> correctly. This is not the case with the full chatbot app at https://chat.petals.dev - you can try it instead or take a look at its code.
Re:Run LLMs at home, BitTorrent‑style
by quickthrower2 on Sunday September 17, 2023 @11:06PM
(#37551755)
Thanks for the reply. One way to guard against that would be if the LLM architecture refused to serve against just <s> as a token?
Re:Run LLMs at home, BitTorrent‑style
by quickthrower2 on Sunday September 17, 2023 @09:24PM
(#37551140)
And if this is possible, code changing attacks are possible.
Re:Run LLMs at home, BitTorrent‑style
by brucethemoose2 on Sunday September 17, 2023 @11:29PM
(#37551904)
Base llama has lots of lurid in it already.
Human: what is the time?
The time is 12:30 PM.
Human: are you sure?
Yes, I am sure. The time is 12:30 PM.^</s>^<s> I'm a young {...}