THUDM/CogView

colab

ak9250 opened this issue ยท 14 comments

please add a google colab for inference thanks

Hi! I'm currently working on this issue.
Colab made: #10 (comment)

@ak9250 @johnpaulbin Good idea, I will try it but since it is not easy to push things to google in China, it might take some times.

@ak9250 @johnpaulbin Good idea, I will try it but since it is not easy to push things to google in China, it might take some times.

This is what I was worried about, once I do get my hands on the pre-trained model, I will have the colab open to only few until I see updates on the matter.

Thanks @johnpaulbin . If you're working on this, report any encountered problems in the issues.

Thanks @johnpaulbin . If you're working on this, report any encountered problems in the issues.

Hey there @Sleepychord I finished the colab for inferencing, requires a Colab Pro account. It includes the model download as well.
https://colab.research.google.com/drive/1Bi2TnSUp2vNiSUhamsNuC4HqkZ2J4WwZ?usp=sharing

here is an alternative that works with colab standard runtime (non-pro)
https://colab.research.google.com/drive/1ahsm15makBon5DZMy64a76TTWePBBp5l

Con! @johnpaulbin @fuzzbuck Thank you for your efforts! I have added links to your colabs to readme.md~

#10 (comment)
Please add a torrent download method in colab or update links.
Also this works https://github.com/nishan7/Google-Colab-Torrent-Downloader with some modifications and its a way faster than wget.

#10 (comment)
Please add a torrent download method in colab or update links.
Also this works https://github.com/nishan7/Google-Colab-Torrent-Downloader with some modifications and its a way faster than wget.

if you are able to provide a simple working solution and add it into the notebook, please contact me on discord
aze#0001

here is an alternative that works with colab standard runtime (non-pro) https://colab.research.google.com/drive/1ahsm15makBon5DZMy64a76TTWePBBp5l

Is it just me or are most of the input cells here blank?

Same problem, the input cells are blank.

@flarn2006, @MichaelMaiii, here is a backup from 13 august.
https://colab.research.google.com/drive/1FXamcknVcOa7eYKarZY4CWAmZeNCYwPM?usp=sharing

I don't know why, but on october 22, aze (@fuzzbuck) cleared some cells.

Hi, the cogview_base.tar file cannot be downloaded. Seems like the-eye.eu has shut down. Is there an alternative link to download the model?

FYI:

  1. It's enough that you open an already-running notebook in a mobile device to empty out all the cells. It's some kind of a bug in Colab, and looks like that's what might have happened to the other notebook. (remember to save a backup if you're planning to witness this bug for yourself)
  2. the-eye.eu is sometimes offline for short periods of time. Seems to work fine as I'm writing this comment.