greyovo/CLIP-android-demo

BPE Tokenzier geting stuck while encoding `pavement`

Closed this issue · 2 comments

Hello,

Thank you you creating this CLIP demo app.

While playing around with the app, we noticed that the text tokenzier isn't working for the following text "cat on the pavement". It looks like the bpe function is getting suck in infinite loop while trying to encoding the token 'pavement'.

I think I might know what's wrong. Will fix it soon :)

Should fix it now. Please pull and check