CogView2 icon indicating copy to clipboard operation
CogView2 copied to clipboard

Better download links

Open alvitawa opened this issue 3 years ago • 2 comments

Would it be possible to provide better download links? The downloads from https://model.baai.ac.cn/model-detail/100041 fail before they are finished and the automatic downloads take upwards to 10 hours.

alvitawa avatar Jun 28 '22 16:06 alvitawa

you can install the tool package

pip install baai-modelhub

and download files as

from baai_modelhub import AutoPull
auto_pull = AutoPull()
auto_pull.get_model(model_name='cogview2-ch',
                    model_save_path='./checkpoints/'
                    )

wangguojim avatar Jun 30 '22 05:06 wangguojim

@alvitawa You can also download the pretrained models from Hugging Face Model Hub. https://huggingface.co/THUDM/CogView2

hysts avatar Jun 30 '22 06:06 hysts