Hacker News new | ask | show | jobs
by iLoveOncall 1262 days ago
So how come the answer is 18 instead of 10 then?
2 comments

Because it's learned from people saying '$STRING is $N characters' a rough correlation between the token length of $STRING and $N. Given infinite training and depth, it would learn how strings tokenize and resolve the question more accurately, but this is basically it guessing what the inflation of tokens->chars is and missing.
But the correct answer is 15