Hello. In fact, (in real life) you can not train a nlp model for hours or days via an ssh connection from your computer due to the risks of disconnection.
To avoid facing these risks, the launch of the Jupyter Notebook server must be done from the GPU platform, not from your laptop. So, when a ssh disconnection appears (and it will appear: Internet problems, low battery of your laptop, your child tapping on it, etc.), your notebook actually continues to run on the GPU platform. Just ssh log in again to see it.
- Start with Jeremy warning about that: Platform: GCP ✅ - #617 by pierreguillou
- Read the GCP warning on this subject: A Code-First Introduction to Natural Language Processing 2019 - #24 by pierreguillou
- Read a whole topic about that: Problem -- Connection reset by $ip Port 22
- My 2 cents about how to launch tmux on the GCP platform as a solution to your problem
Hope it helps.