# Is there a notebook or document for hyperparameter search?

**URL:** <https://discuss.huggingface.co/t/is-there-a-notebook-or-document-for-hyperparameter-search/8308>\
**Category:** 🤗Transformers\
**Created:** [July 13, 2021, 12:26pm UTC](https://discuss.huggingface.co/t/is-there-a-notebook-or-document-for-hyperparameter-search/8308 "2021-07-13T12:26:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yc1999](https://avatars.discourse-cdn.com/v4/letter/y/df705f/32.png) [@yc1999](https://discuss.huggingface.co/u/yc1999)\
**Post date:** [July 13, 2021, 12:26pm UTC](https://discuss.huggingface.co/t/is-there-a-notebook-or-document-for-hyperparameter-search/8308/1 "2021-07-13T12:26:58Z")

</div>

`Trainer` has a function named `hyperparameter_search()`, I wonder is there a notebook or document to describe how to use this function? This function seems so hard for me to understand o(╥﹏╥)o

Thank you~

---

<div class="post-metadata">

**Author:** ![lewtun](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lewtun/32/30995_2.png) [@lewtun](https://discuss.huggingface.co/u/lewtun)\
**Post date:** [July 13, 2021, 12:51pm UTC](https://discuss.huggingface.co/t/is-there-a-notebook-or-document-for-hyperparameter-search/8308/2 "2021-07-13T12:51:10Z")

</div>

hey @yc1999 you can find an example on how the hyperparameter search in the `Trainer` works in this tutorial notebook here: [Google Colaboratory](https://colab.research.google.com/github/huggingface/notebooks/blob/master/examples/text_classification.ipynb)

---

<div class="post-metadata">

**Author:** ![yc1999](https://avatars.discourse-cdn.com/v4/letter/y/df705f/32.png) [@yc1999](https://discuss.huggingface.co/u/yc1999)\
**Post date:** [July 14, 2021, 2:44am UTC](https://discuss.huggingface.co/t/is-there-a-notebook-or-document-for-hyperparameter-search/8308/3 "2021-07-14T02:44:39Z")

</div>

Get it! It’s helpful~

I hope someday there will be a single article on how to use it 🥳
