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
Python transformers prepends 29871 (▁) before 6324. It seems to be done by the normalizer. I debugged this issue and found that the normalizer is ignored when legacy is false at
Hi, I found the tokenizer behavior different from Python transformers when I use Phi-3 model.
swift-transformers
Python transformers
Python transformers prepends
29871
(▁
) before6324
. It seems to be done by the normalizer. I debugged this issue and found that the normalizer is ignored whenlegacy
isfalse
atswift-transformers/Sources/Tokenizers/Tokenizer.swift
Lines 341 to 344 in fc65432
The text was updated successfully, but these errors were encountered: