News for hackers. Stuff that matters.
Re:DALL-E 2 has a secret language by teddykoker on Wednesday June 01, 2022 @12:00AM (#31577917)
According to [1], the byte pair encoding for “Apoploe vesrreaitais” (the words producing bird images) is "apo, plo, e</w>, ,ve, sr, re, ait, ais</w>", and Apo-didae & Plo-ceidae are families of birds.

[1] https://twitter.com/barneyflames/status/1531736708903051265?...

Re:DALL-E 2 has a secret language by DalasNoin on Wednesday June 01, 2022 @12:31AM (#31578099)
On the other hand the openai tokenizer gives me a different tokenization ap - opl - oe [0]. If you capitalize A the result is A - pop - loe. The dalle 2 paper only specifies that it uses a BPE encoding, I would assume they used the same one as for gpt3 [0] https://beta.openai.com/tokenizer
Re:DALL-E 2 has a secret language by karmasimida on Wednesday June 01, 2022 @12:48AM (#31578206)
If they use BPE dropout, then the split can be different and not unique.

And for the record, they use BPE dropout for DALLE-1, see https://arxiv.org/pdf/2102.12092.pdf

Re:DALL-E 2 has a secret language by DalasNoin on Wednesday June 01, 2022 @01:00AM (#31578288)
I believe they only apply it during training.
Re:DALL-E 2 has a secret language by karmasimida on Wednesday June 01, 2022 @01:27AM (#31578454)
right, that is my point. It is hard to know which combination triggers the current tokenization to be interpreted as bird.