Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
frwickst
· 8mo ago · 0 comments
Since the output is quite long, here is a link:
https://pastebin.com/k76wiVGP
Comments
[–]
hrimfaxi
8mo ago
Why does this G character appear to prefix most of the output? ("Ġlike")
[–]
frwickst
OP
8mo ago
It is a tokenizer artifact most likely (
https://github.com/huggingface/transformers/issues/4786
). So the output is not properly decoded in this case, it should just be a space.
[–]
kgeist
8mo ago
The original tokens have Ġ instead of space. I had this issue too when writing an inference engine for Qwen. You have to "normalize" those special characters.