# How can I delete a model repository

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-can-i-delete-a-model-repository%2F2097%3E%5C
**Category:** Models\
**Created:** [November 17, 2020, 1:08pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-can-i-delete-a-model-repository%2F2097 "2020-11-17T13:08:11Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Vasan](https://avatars.discourse-cdn.com/v4/letter/v/f1d935/32.png) [@Vasan](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FVasan)%5C
**Post date:** [January 18, 2022, 11:58pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-can-i-delete-a-model-repository%2F2097%2F6 "2022-01-18T23:58:47Z")

</div>

Note: Problem encountered after deleting a model using the website:  
(I am assuming that ‘project’ and ‘model’ are synonyms)  
[🔥 [New] You can now delete a model from the website!](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fnew-you-can-now-delete-a-model-from-the-website%2F2481).  
If a model is created with the same name again,the project (model) is created. However on attempt to load data, the following error occurs:  
Traceback (most recent call last):  
File “/home/vv/git/hf/venv/lib/python3.8/site-packages/huggingface\_hub/repository.py”, line 359, in git\_pull  
subprocess.run(  
File “/usr/lib/python3.8/subprocess.py”, line 516, in run  
raise CalledProcessError(retcode, process.args,  
subprocess.CalledProcessError: Command ‘[‘git’, ‘pull’]’ returned non-zero exit status 128.

I have tried this twice, and finally ended up creating a model with a different name. So it appears that model deletion still leaves some remnants that lead to this issue.

---

_[View the full topic](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-can-i-delete-a-model-repository%2F2097)._
