You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also encountered the same problem,text="Cr⁶", this code endless loop
tokenize/wordpiece.go line45
for len(tok) > 0 && tok != "##" {
sub := wp.vocab.LongestSubstring(tok)
if sub == "" {
toks = append(toks, wp.unknownToken)
break
}
toks = append(toks, sub)
tok = fmt.Sprintf("##%s", tok[len(sub):])
}
Full.Tokenize may cause OOM(out of memery), such as: text="suvZR∨"
The text was updated successfully, but these errors were encountered: