Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Colab Notebook for Running Model #43

Merged
merged 2 commits into from
Dec 13, 2022

Conversation

thienlongtran
Copy link
Contributor

Some people, myself included, are unable to run the model due to the lack of necessary hardware and whatnot. The notebook provided in this PR allows users to run the model seamlessly and freely on Google Colab!

@kyleskom
Copy link
Owner

Can you give me a brief overview on how to test this?

@thienlongtran
Copy link
Contributor Author

thienlongtran commented Nov 30, 2022

Can you give me a brief overview on how to test this?

Hi @kyleskom!

  1. Download/clone ColabNotebook.ipynb which is included in this PR
  2. Head over to https://colab.research.google.com/ and upload ColabNotebook.ipynb as a new notebook
  3. The runtime should be set to GPU by default, but if there's issues with it then follow these steps:
    • click on Runtime in the top tab
    • click on Change runtime type
    • set Hardware accelerator as GPU
  4. Run the Bootstrap Model cell
  5. Run the Run Model cell once bootstrapping is done and follow the exact same steps you would do to use the model when running on your local machine!

Example: https://colab.research.google.com/drive/103DGVFZbWehI_JNHbTmqcy7VkF3h1pr2?usp=sharing

Screen Shot 2022-11-29 at 11 10 41 PM

Screen Shot 2022-11-29 at 11 11 00 PM

Copy link
Owner

@kyleskom kyleskom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and worked exactly as expected. Will merge.

@kyleskom
Copy link
Owner

Thank again for this PR!

@kyleskom kyleskom merged commit cfe1601 into kyleskom:master Dec 13, 2022
@thienlongtran
Copy link
Contributor Author

@kyleskom

Always, and thanks for your work! This is really good, inspiring stuff! Add me on LinkedIn wont ya :3

https://www.linkedin.com/in/thienlongtran/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants