Lda2vec-Tensorflow icon indicating copy to clipboard operation
Lda2vec-Tensorflow copied to clipboard

Create a Google CoLab Notebook for LDA2VEC-Tensorflow

Open dbl001 opened this issue 6 years ago • 5 comments

Comments?

https://medium.com/deep-learning-turkey/google-colab-free-gpu-tutorial-e113627b9f5d

dbl001 avatar Apr 30 '19 18:04 dbl001

Sure, great idea! I'm working with Google Colab for a new tutorial series I'm working on, so I'm already familiar with setting this up. Thanks for the suggestion!

nateraw avatar Apr 30 '19 19:04 nateraw

I’ve tried the GPU and TPU runtimes. They disconnected after a short period of time. The documentation says you should be able to train a model for 12 hours.

https://stackoverflow.com/questions/55874473/does-google-colab-continue-running-the-script-when-runtime-disconnected

If the model checkpoint file is saved to the cloud drive, we should be able to reconnect, restore the model and continue training where we left off.

On Apr 30, 2019, at 12:27 PM, Nathan Raw [email protected] wrote:

Sure, great idea! I'm working with Google Colab for a new tutorial series https://github.com/nateraw/Keras-Tutorials I'm working on, so I'm already familiar with setting this up. Thanks for the suggestion!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nateraw/Lda2vec-Tensorflow/issues/52#issuecomment-488083429, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXWFW34CDWOPSK5473PW7TPTCMSVANCNFSM4HJO7IKQ.

dbl001 avatar May 01 '19 18:05 dbl001

Google CoLab runs out of memory pre-processing input files larger the ~20mb. Possibly in the Keras tokenizer.

dbl001 avatar Jun 24 '19 18:06 dbl001

I wonder if the issue is from the skipgram token pair stuff. Will look into it. I have the colab example all cleaned up, I'll find time to upload it this week sometime.

nateraw avatar Jun 25 '19 00:06 nateraw

It died in CoLab BEFORE printing: Removing 9981 low frequency tokens out of 15481 total tokens

On Jun 24, 2019, at 5:57 PM, Nathan Raw [email protected] wrote:

I wonder if the issue is from the skipgram token pair stuff. Will look into it. I have the colab example all cleaned up, I'll find time to upload it this week sometime.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nateraw/Lda2vec-Tensorflow/issues/52?email_source=notifications&email_token=AAXWFWY4VHQEJHCBQGA5PKTP4FUN7A5CNFSM4HJO7IK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYOUNMA#issuecomment-505235120, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXWFW5JBBWLMTQRGJDDFRLP4FUN7ANCNFSM4HJO7IKQ.

dbl001 avatar Jun 25 '19 04:06 dbl001