# Pushing a custom tokenizer to the hub

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fpushing-a-custom-tokenizer-to-the-hub%2F36580%3E%5C
**Category:** Beginners\
**Created:** [April 14, 2023, 3:25pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fpushing-a-custom-tokenizer-to-the-hub%2F36580 "2023-04-14T15:25:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dagim](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@dagim](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fdagim)%5C
**Post date:** [April 14, 2023, 3:25pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fpushing-a-custom-tokenizer-to-the-hub%2F36580%2F1 "2023-04-14T15:25:00Z")

</div>

Hello everyone, I’ve trained a custom tokenizer using a custom dataset using this [code](https://huggingface.co/docs/tokenizers/quicktour) that’s on the documentation. Is there a method for me to add this tokenizer to the hub and to use it as the other tokenizers. Using the `AutoTokenizer.from_pretrained()` function? If I can’t do that how can I use the tokenizer to train a custom model from scratch?  
Thanks for your help!!!
