transformers icon indicating copy to clipboard operation
transformers copied to clipboard

Difference between base and large tokenizer?

Open ZhaofengWu opened this issue 7 years ago • 4 comments

I understand that a cased tokenizer and an uncased one are surely different because their vocabs are different in casing, but how does a base tokenizer different from a large tokenizer? Does a large tokenizer have a larger vocab?

ZhaofengWu avatar Mar 28 '19 18:03 ZhaofengWu

I haven't looked in the details of the vocabularies for each model. If you investigate this question, be sure to share the results here, it may interest others as well!

thomwolf avatar Apr 03 '19 07:04 thomwolf

I did a diff on the two vocabulary files and there is no difference. As long as you use the uncased version at least. I haven't investigated others.

mhattingpete avatar Apr 08 '19 08:04 mhattingpete

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 07 '19 08:06 stale[bot]

I can validate @mhattingpete 's research. I tokenized a big collection of text with the uncased tokenizer from both the base and the large model and both tokenizations are identical.

kurtjanssensai avatar Jun 19 '19 09:06 kurtjanssensai