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

add colab buttons to notebooks #468

Merged

Conversation

andrewm4894
Copy link
Collaborator

add open in colab buttons to notebooks. seems like they all fairly self contained and able to just run in colab.

Copy link
Collaborator

@yk yk left a comment

Choose a reason for hiding this comment

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

thank you, that's pretty cool. did you do this by hand or with a script? I wonder if we could automate this

@andrewm4894
Copy link
Collaborator Author

Just by hand as only a few so far. For one of them I had to add a pip install cell at top for detoxify.

So maybe just trying to make it a standard practice as opposed to anything we can automate or adding a pre-commit for.

Am sure could be ways to automate.

If we really wanted to then a standard notebook folder structure that supports just opening in something like binder might be a good option https://mybinder.readthedocs.io/en/latest/index.html

I might have a look and maybe make a "example.ipynb" for others as a sort of template perhaps as I can see maybe a lot of different notebooks maybe coming in all with different styles etc.

But I'd be happy to do some clean up later rather than adding any extra friction just yet. Will see, will think a bit.

@andrewm4894 andrewm4894 merged commit eaefa68 into LAION-AI:main Jan 7, 2023
@andrewm4894 andrewm4894 deleted the add-colab-buttons-to-notebooks branch January 7, 2023 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants