# Initialize Vocabulary for Unigram Tokenizer

**URL:** <https://discuss.huggingface.co/t/initialize-vocabulary-for-unigram-tokenizer/46371>\
**Category:** 🤗Tokenizers\
**Created:** [July 11, 2023, 6:28am UTC](https://discuss.huggingface.co/t/initialize-vocabulary-for-unigram-tokenizer/46371 "2023-07-11T06:28:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dotan1111](https://avatars.discourse-cdn.com/v4/letter/d/85f322/32.png) [@dotan1111](https://discuss.huggingface.co/u/dotan1111)\
**Post date:** [July 11, 2023, 6:28am UTC](https://discuss.huggingface.co/t/initialize-vocabulary-for-unigram-tokenizer/46371/1 "2023-07-11T06:28:20Z")

</div>

I have reviewed the documentation and code, but I was unable to find the specific method used for initializing the set of tokens in the Unigram tokenizer. Typically, it is initialized by running a BPE tokenizer, but I would like to confirm this information. If anyone could provide a link to the code or documentation or offer an answer regarding this matter, it would be greatly appreciated.
