# Getting error for a parameter I didn't passed on model.push\_to\_hub() function

**URL:** <https://discuss.huggingface.co/t/getting-error-for-a-parameter-i-didnt-passed-on-model-push-to-hub-function/35776>\
**Category:** Beginners\
**Created:** [April 6, 2023, 1:49pm UTC](https://discuss.huggingface.co/t/getting-error-for-a-parameter-i-didnt-passed-on-model-push-to-hub-function/35776 "2023-04-06T13:49:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Seungjun](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@Seungjun](https://discuss.huggingface.co/u/Seungjun)\
**Post date:** [April 6, 2023, 1:49pm UTC](https://discuss.huggingface.co/t/getting-error-for-a-parameter-i-didnt-passed-on-model-push-to-hub-function/35776/1 "2023-04-06T13:49:45Z")

</div>

I fine-tuned a model and now want to upload it to HuggingFace.

As [this doc](https://huggingface.co/docs/transformers/model_sharing) suggested, I tried following code:

```auto
model.push_to_hub('Seungjun/textSummaryV100')

```

But I’m getting error saying

```auto
TypeError: create_repo() got an unexpected keyword argument 'organization'.

```

I didn’t even passed parameter for organization. and made sure I’m using the latest version of Hugging face, but I’m keep getting this error.

Can anyone help me to figure out this problem?
