# Changing name of packaged and published model

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fchanging-name-of-packaged-and-published-model%2F33557%3E%5C
**Category:** 🤗Hub\
**Created:** [March 11, 2023, 6:49am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fchanging-name-of-packaged-and-published-model%2F33557 "2023-03-11T06:49:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![emiltj](https://avatars.discourse-cdn.com/v4/letter/e/d07c76/32.png) [@emiltj](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Femiltj)%5C
**Post date:** [March 11, 2023, 6:49am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fchanging-name-of-packaged-and-published-model%2F33557%2F1 "2023-03-11T06:49:00Z")

</div>

Hi,

I accidentally forgot to change the name of a model before packaging and publishing it, but I no longer have access to the model or package itself, apart from through the Hub where I pushed it to.  
I know it is possible through Settings to change the name of the HF repo, but since the wheel and the .dist-info doesn’t change this messes downloading the model up.

**Is it possible to change the name of the HF repo AND the wheel + the .dist-info, so that I may pip install it using the name that I actually wanted?**

_Also on a sidenote: It seems faulty that the “Use in SpaCy” in the top right corner of a model repo wrongly bases the destination of the wheel off of the repo name, rather than the actual destination of the wheel._

---

<div class="post-metadata">

**Author:** ![Markgazol](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@Markgazol](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FMarkgazol)%5C
**Post date:** [December 28, 2024, 7:58pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fchanging-name-of-packaged-and-published-model%2F33557%2F2 "2024-12-28T19:58:40Z")

</div>

Yes, you can change your Hugging Face model name by renaming the repository on the Hugging Face Hub. Here’s how you can do it:

1. **Go to Your Model Repository** :

- Log in to your Hugging Face account.
- Navigate to the repository of the model you want to rename.

1. **Access Settings** :

- Once in the repository, look for a “Settings” option.

1. \*\* Rename or transfer this model\*\*:

- In the settings, you should see an option to rename or transfer the repository. Enter the new name and save the changes.
