Uploading a notebook
This guide describes how to upload a Jupyter notebook on AI Hub.
About uploading and sharing assets on AI Hub
You must sign in with a user account that is associated with a Cloud Identity or Google Workspace domain to upload and share assets on AI Hub. Assets that you upload to AI Hub are not shared by default. You can share these assets with individuals, groups, or your entire organization.
You are responsible for the assets that you upload on AI Hub. Follow your organization's guidelines and policies when uploading and sharing assets on AI Hub. Do not store credentials on AI Hub.
Upload a notebook on AI Hub
Follow these steps to upload the notebook on AI Hub:
- Go to AI Hub. Click Sign in in the upper-right corner of the window and follow the prompts to sign in with an account that is associated with your organization.
- Click Upload and select Notebook from the list. A form opens, prompting you for information about the notebook that you want to upload.
Supply the following information in the Metadata section:
- Notebook name: A short description that helps you identify your notebook on AI Hub.
- Input data type: Select the types of data that your notebook processes. This metadata is useful for people who search AI Hub for assets that work for their type of data.
- ML Workflow: (Optional.) Select the steps in the ML workflow that characterize your notebook. This metadata is useful for people who search AI Hub for assets that implement a specific ML workflow step.
- Technique: (Optional.) Select the ML methodologies that were used in this notebook. This metadata is useful for people who search AI Hub for assets that implement a specific ML technique.
- Use case: (Optional.) Select the scenarios that characterize your notebook. This metadata is useful for people who search AI Hub for assets that fulfill a specific use case.
- Labels: (Optional.) Enter key terms that characterize your notebook. This metadata is useful for people who search AI Hub for assets with a specific label.
- Summary: A description of the functionality that your notebook implements.
Click Next.
Supply the following information in the Version section:
- Version: This field offers a way for you to name and manage the
versions of your notebook. A good first version number is:
1
. - Notebook .ipynb file: Click Upload and follow the prompts to
upload your
notebook.ipynb
.
- Version: This field offers a way for you to name and manage the
versions of your notebook. A good first version number is:
Click Next.
Check the information in the Review and finish section. If you need to change something, click one of the other sections and update the information, then return to the Review and finish section.
Click Publish to upload the notebook to your private assets on AI Hub.
Change a notebook's metadata
Follow this process to update a notebook's metadata, or to add a new version of a notebook:
- Go to AI Hub.
- Click My assets. A page opens, listing the assets that you have uploaded.
- Find the notebook that you would like to update, then click the notebook's name. A form opens, prompting you for information about the notebook.
Update the information in the Metadata section:
- Notebook name: A short description that helps you identify your notebook on AI Hub.
- Input data type: Select the types of data that your notebook processes. This metadata is useful for people who search AI Hub for assets that work for their type of data.
- ML Workflow: (Optional.) Select the steps in the ML workflow that characterize your notebook. This metadata is useful for people who search AI Hub for assets that implement a specific ML workflow step.
- Technique: (Optional.) Select the ML methodologies that were used in this notebook. This metadata is useful for people who search AI Hub for assets that implement a specific ML technique.
- Use case: (Optional.) Select the scenarios that characterize your notebook. This metadata is useful for people who search AI Hub for assets that fulfill a specific use case.
- Labels: (Optional.) Enter key terms that characterize your notebook. Use commas to separate terms. This metadata is useful for people who search AI Hub for assets with a specific label.
- Summary: A description of the functionality that your notebook implements.
Click Next. The Version section lists the published versions of this notebook.
To add a new version of this notebook, click Add New Version and supply the following information:
- Version: This field offers a way for you to name and manage the versions of your notebook. This field is preset to your notebook's next version number.
- Notebook .ipynb file: Click Upload and follow the prompts to
upload your notebook's new
notebook.ipynb
file.
Click Next.
Check the information in the Review and finish section. If you need to change something, click one of the other sections and update the information, then return to the Review and finish section.
Click Publish to save your changes.
What's next
- Learn about using a notebook from AI Hub.
- Learn more about sharing assets with your colleagues on AI Hub.
- Understand important concepts and terms by reading the introduction to AI Hub.