Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 731 Bytes

hf-models.md

File metadata and controls

26 lines (17 loc) · 731 Bytes

How to upload/download models from HF?

We have... ✨ an organization!

Uploading models

Using huggingface-cli makes things very easy, so can recommend. To upload a particular model and all the files belonging to it, you can do:

huggingface-cli upload ucl-snlp-nyt/snlp-unlearned-models models/model_name models/model_name

Downloading models

To download all the models, you can use git lfs! First you can skip the large files:

git lfs install
GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/ucl-snlp-nyt/snlp-unlearned-models

or just download them in one go:

git clone https://huggingface.co/ucl-snlp-nyt/snlp-unlearned-models