* Add diffusers train/serve docker files.
* Add two notebook examples for model garden google proprietary ICN/IOD models.
* Reformat the icn/iod notebooks.
* Format the notebook files.
* Remove VIT from the list since it is not supported yet.
---------
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Cleanup SAM notebook to:
- run endpoint/model deployment in separate cell and results visualization in another.
- add show_predictions function to show overlayed masks.
* Fix typo in SAM model garden notebook.
* Fix typo and cleanup SAM notebook with linter.
* Add diffusers train/serve docker files.
* Add two notebook examples for model garden google proprietary ICN/IOD models.
* Reformat the icn/iod notebooks.
* Format the notebook files.
* Add the first util class to the vertex-vision-model-garden repo
* Updated file names.
* Delete the 1st incorrect file set.
* Add the codeowners
* Revised the file folder structures.
* Add two additional files to the util directory.
* Add the first util class to the vertex-vision-model-garden repo
* Updated file names.
* Delete the 1st incorrect file set.
* Add the codeowners
* Revised the file folder structures.
* fix: pin protobuf version to address a dependency compability issue
* removed --user install
* update protobuf version
* workaround an artifact registry
* feat: add build to generate web index of official notebooks
* fix: review comments
* fix: store results
* fix: store results
* fix: --steps
* fix: --steps
* fix: moved to its own dir
* Add notebook for local inferences for models on huggingface
* lint
* add notebook to CODEOWNERS
* update link
* Add objective section. Add brief description of each code block.
* Update stable_diffusion notebook with steps for local inference.
* Lint
* Move comments to top and shorten line.
* Lint
* Make code comment titles, add print statements, and update Objective
* change print to display
* lint
* change training dockers to serving dockers
* Add local inferences instructions for stable diffusion inpainting.
* Lint
* remove extra libraries and add GPU
* remove re-imports
* Added new bq_ml_with_vision_translation_nlp notebook. Added README. Updated community CODEOWNERS file
* review comment changes - renamed folder, updated headers, reformatted to be more in line with template
* review comment changes - renamed folder, updated headers, reformatted to be more in line with template
* lint formatting fixes
---------
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Add Keras stable diffusion notebook for model garden
* Fix minor typos in Keras Stable Diffusion
* Fix format after minor typo fixes
* Update the objective structure
* update minor comments
* Add text_embedding_api_semantic_search_with_scann notebook.
* Linted version.
* Updating the cell moving the pip install to the top
* Adding shapely<2.0.0.
* Update stable_diffusion notebook with steps for local inference.
* Lint
* Move comments to top and shorten line.
* Lint
* Make code comment titles, add print statements, and update Objective
* change print to display
* lint
* change training dockers to serving dockers
Can only set up one Service Networking configuration per _network_. However, we can have multiple VPC networks per project, each with its own Service Networking configuration
* Update #ModelGarden TFVision notebooks.
1. Added checkpoints for resnet-50, scaled_yolov4, deeplabv3+
2. Supported launching dockers in europe and asia region.
* Use a smaller batch size to resolve OOM issue
* Trigger Model Garden Training
* Add notebook to trigger model garden training with model descriptions for ip sensitive checkpoints.
* Remove notebook in official folder.
* Fix type in notebook filename.
* Updated notebook description to reflect ip sensitive model garden training for EFFICIENTNET v2 using CLOUD key.
* Updated notebook with model garden specific configs for proprietary checkpoints.
* Linter check.
* Clear notebook's output.
* feat: PyTorch training with GCS data
* fix kernel restart
* per reviewer
* Added requirements section
* fixes for build
* lint, build
* per reviewer
* linter again
* per reviewer
* per reviewer, linter
---------
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Minor nit fixes for model garden tfvision IOD notebook.
* Sync
* Lint
* Fix retinanet_spinenet143 experiment args in IOD notebook to use correct config file.
Build(deps): Bump torch from 1.8.1 to 1.13.1 in /community-content/pytorch_image_classification_distributed_data_parallel_training_with_vertex_sdk/trainer
* feat: MM for automl image
* feat: MM for automl image
* fix: missing import for testing
* fix: testing
* fix: test timing issues
* debug: timing
* test: fix timing issue
* tune: updates from TW for web index
* fix: code review
* feat: add new notebook to support the XAI zero metadata config feature
* add missing packages
* Attempt to fix issue of -- user install not performed in the env
* Fixed package issues
* Addressed review comments
* Addressed review comments
* Addressed review comments
* Improve the training code to support the non-distributed job and add the dashboard access.
* format the notebook.
* Use the 8888 instead of getting the env since DASHBOARD_PORT is not populated in the pipeline.
* Resolved the pull request comments.
* Add notebook for co-hosting model
* Add notebook for co-hosting model
* Change co-hosting model notebook inline link to officical
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
Co-authored-by: Eric Schmidt <em.schmidt78@gmail.com>
* Add Cloud natural language pipeline colab notebook
* Add ready-to-go text classification pipeline colab notebook
* Ran reformatting scripts on text classification pipeline colab notebooks
* Update CODEOWNERS files
* Fix order of cells in cloud_natural_language_pipeline.ipynb
* Remove unused variables via linter for text classification colabs; fix classification variable for preprocessing component
* Minor fix: remove GCPC version requirement
* Minor fix: remove outputs
* fix formatting with nbfmt
* move ready-to-go pipeline to notebooks/community
* fix link
* update CODEOWNERS
* move text classification colabs to notebooks/community/pipelines
* Address initial comments on NL notebook
* Remove commented lines in NL notebook
* minor cell formatting
* clear outputs
* minor changes to NL notebook
* address comments for ready-to-go pipeline
* run linter locally
* add pipeline description to NL pipeline
* run linter locally (PR check could not lint)
* Add cell to examine metrics, update kernel restart cell from official template
* lint
* Update default fields and URLs in NL notebook
* Fix URLs in ready to go notebook
* run linter
* matching engine tutorial add networking troubleshooting
* format check changes
* Change year 2021 to 2023, replace colab, github and workbench links with new template style
* Replace all occurences of ANN and ANN service with matching_engine or Vertex AI Matching Engine to reflect updated product name
* Update Before you Begin section to follow notebook template and add more organization to it
* Update installation of Vertex AI SDK python library from preview to GA version
* Remove outdated set project id section
* Add Authentication section from notebook template
* Update create bucket section to incorporate notebook template guidelines
* Fix format issues
* Fix format issues
* Fix issues when trying the notebook changes, ordered sections and updated some outdated commands
* Add troubleshooting comment for service networking role for worbench instance to create vpc peering
* Add troubleshooting comment for service networking role for worbench instance to create vpc peering
* Revert "Add troubleshooting comment for service networking role for worbench instance to create vpc peering"
This reverts commit ed418a392a.
* Add wait to deploying index
* Add wait to deploying index
* remove redundant import
* Format file
from BigQuery and address comments in the previous commit
This commit does:
- Shorten the Feature Store creation process by using an exported CSV to
populate FS instead of querying from BigQuery
- Add the Feature fetch config proto to the description
- Grant the service account `Storage Admin` and `Vertex Ai Feature Store
Data Viewer` role instead of `Vertex AI Service Agent`
- Address nit comments in the previous commit
* Add Cloud natural language pipeline colab notebook
* Add ready-to-go text classification pipeline colab notebook
* Ran reformatting scripts on text classification pipeline colab notebooks
* Update CODEOWNERS files
* Fix order of cells in cloud_natural_language_pipeline.ipynb
* Remove unused variables via linter for text classification colabs; fix classification variable for preprocessing component
* Minor fix: remove GCPC version requirement
* Minor fix: remove outputs
* fix formatting with nbfmt
* move ready-to-go pipeline to notebooks/community
* fix link
* update CODEOWNERS
* move text classification colabs to notebooks/community/pipelines
* Address initial comments on NL notebook
* Remove commented lines in NL notebook
* minor cell formatting
* clear outputs
* minor changes to NL notebook
* address comments for ready-to-go pipeline
* run linter locally
* add pipeline description to NL pipeline
* run linter locally (PR check could not lint)
* Add cell to examine metrics, update kernel restart cell from official template
* lint
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* feat: CL var replacements
* fix: tuning index
* fix: tuning index
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: index tuning
* tuning: linkbak for repo index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* fix: notebook objective
* fix: notebook objective
* fix: alpha sort
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* feat: CL var replacements
* fix: tuning index
* fix: tuning index
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: index tuning
* tuning: linkbak for repo index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* fix: notebook objective
* fix: notebook objective
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* feat: CL var replacements
* fix: tuning index
* fix: tuning index
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: index tuning
* tuning: linkbak for repo index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* fix: notebook objective
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* feat: CL var replacements
* fix: tuning index
* fix: tuning index
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: index tuning
* tuning: linkbak for repo index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* feat: CL var replacements
* fix: tuning index
* fix: tuning index
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: index tuning
* tuning: linkbak for repo index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* feat: CL var replacements
* fix: tuning index
* fix: tuning index
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: index tuning
* tuning: linkbak for repo index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* feat: CL var replacements
* fix: tuning index
* fix: tuning index
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: index tuning
* tuning: linkbak for repo index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* feat: CL var replacements
* fix: tuning index
* fix: tuning index
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: index tuning
* tuning: linkbak for repo index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* feat: CL var replacements
* fix: tuning index
* fix: tuning index
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: index tuning
* tuning: linkbak for repo index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* feat: CL var replacements
* fix: tuning index
* fix: tuning index
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: index tuning
* tuning: linkbak for repo index
* tuning: README index
* tuning: README index
* tuning: README index
* tuning: README index
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* feat: CL var replacements
* fix: tuning index
* fix: tuning index
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: index tuning
* tuning: linkbak for repo index
* tuning: README index
* tuning: README index
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* feat: CL var replacements
* fix: tuning index
* fix: tuning index
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: index tuning
* tuning: linkbak for repo index
* tuning: README index
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* feat: CL var replacements
* fix: tuning index
* fix: tuning index
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: index tuning
* tuning: linkbak for repo index
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* feat: CL var replacements
* fix: tuning index
* fix: tuning index
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: index tuning
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* feat: CL var replacements
* fix: tuning index
* fix: tuning index
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* feat: CL var replacements
* fix: tuning index
* fix: tuning index
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* feat: CL var replacements
* fix: tuning index
* fix: tuning index
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* feat: CL var replacements
* fix: tuning index
* fix: tuning index
* fix: fine tune indexing
* fix: fine tune indexing
* fix: fine tune indexing
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* feat: CL var replacements
* fix: tuning index
* fix: tuning index
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* feat: CL var replacements
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: fine-tune layout for webdoc
* upgrade: fine-tuning tags and linkbacks
* upgrade: fine-tuning tags and linkbacks
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* upgrade: autogen index, folder to tag
* upgrade: prep for auto docs index
* upgrade: prep for auto docs index
* upgrade: prep work of web index
* upgrade: autoindex, map dirnames to tags
* upgrade: autogen index, folder to tag
* fest: update the feature store notebook to include streaming ingestion
export VM="junkourata.c.googlers.com"
* fest: more fixing
* Add only streaming ingestion and remove any change in other sections
* Add streaming ingestion section to the notebook
* Remove changes in other sections and leave only streaming ingestion
* Add a new line at the end of the file
* Fix the syntax issue
* Applied all the suggestions by our tech writer.
* Fix the json formatting
* Fix the markdown
* Add additional fixes
* Add additional fix
* Fix formatting
* Hardcode gcpc version and rename variable
* Remove hardcoded value in the pipeline
* Fix parameter explanation text
* Run linter
* Fix class labels variable
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* fix: bad links in workbench folder
* fix: template conformance
* fix: autogen README index for workbench folder
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* fix: bad links in workbench folder
* fix: template conformance
* fix: autogen README index for workbench folder
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* fix: bad links in workbench folder
* fix: template conformance
* fix: autogen README index for workbench folder
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* fix: bad links in workbench folder
* fix: template conformance
* fix: autogen README index for workbench folder
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* fix: bad links in workbench folder
* fix: template conformance
* fix: autogen README index for workbench folder
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* fix: bad links in workbench folder
* fix: template conformance
* fix: autogen README index for workbench folder
* fix: branding and objective
* fix: branding and objective
* fix: branding and objective
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* fix: bad links in workbench folder
* fix: template conformance
* fix: autogen README index for workbench folder
* fix: branding and objective
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* fix: bad links in workbench folder
* fix: template conformance
* fix: autogen README index for workbench folder
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* fix: bad links in workbench folder
* fix: template conformance
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* fix: bad links in workbench folder
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* fix: update official indexes
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: update indexes
* feat: autogen index
* feat: autogen index
* feat: autogen index
* feat: update indices
* fix: update official indices
* fix: update autogen index in official
* fix: working on abstract class
* fix: working on abstract class
* fix: restructuring
* fix: changes per TW needs
* fix: request changes
* fix: before you begin
* feat: task: making cell navigation independent of rules
* fix: review comments
* fix: review comments
* fix: review comments
* fix: review comments
* feat: writeback fixed notebook
* fix: target=_blank detection
* fix: autofixing bad link
* Update stream_update_for_matching_engine.ipynb
change "allow_list" to "allow" for index creation as allow_list is not supported but allow is supported for index creation.
* Update stream_update_for_matching_engine.ipynb
Updated to resolve the comments.
* Updated Google Cloud Notebooks to Workbench AI Notebooks
* Adding PyTorch Torchrun example
* Revert 'Adding PyTorch Torchrun example'
This reverts commit 239b9fe3b7
* Adding PyTorch torchrun ImageNet training example
* Updated CODEOWNERS for PyTorch torchrun example
* Ran Linter
* Updated based on review feedback
* Add feature filter notebook
* Clean code
* Run linter
* Add the notebook to CODEOWNERS
* Remove user flag
* Run linter
* Fix bucket URI
* Run linter
* Simplify the notebook
* adding anomalydetection pipeline
* reviewed notebook
* add code owner
* remove to do
* linter test
* reviewed based on feeback from andy
* linter test passed
* fix links
* linter test passed
* Added pipeline components used in the "Train_tabular_models_with_many_frameworks_and_import_to_Vertex_AI_using_Pipelines" samples.
* Removed Pandas type conversion
* Removed Pandas type conversion
* fix: autofix bad links
* fix: autofix bad links
* fix: autofix bad links
* fix: autofix bad links
* fix: autofix bad links
* fix: autofix bad links
* fix: autofix bad links
* fix: autofix bad links
* fix: autofix bad links
* fix: autofix bad links
* fix: autofix bad links
* fix: autofix bad links
* remove key_columns variable
* ran linter
* remove key_columns in text
* notebooks/official/model_evaluation/custom_tabular_regression_model_evaluation.ipynb
* modified text
* ran linter
* andrew comments resolved
* ran linter
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* bioler plate changes
* linter test
* made review changes
* linter test
* bioler plate changes
* linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
File came in regression log. Unable to download executed notebook. When ran in local, file executed successfully.
**Changes made**:
Update notebook according to template
- [X] Use the [notebook template](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/notebook_template.ipynb) as a starting point.
- [X] Follow the style and grammar rules outlined in the above notebook template.
- [X] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
- [X] Passes all the required automated checks. You can locally test for formatting and linting with these [instructions](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/CONTRIBUTING.md#code-quality-checks).
- [ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
- [X] This notebook has been added to the [CODEOWNERS](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/CODEOWNERS) file under the `Official Notebooks` section, pointing to the author or the author's team.
- [X] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.
<br>
**REQUIRED:** Add a summary of your PR here, typically including why the change is needed and what was changed. Include any design alternatives for discussion purposes.
<br>
Changed according to boilerplate requirement.
<br><br><br>
**REQUIRED:** Fill out the below checklists or remove if irrelevant
1. If you are opening a PR for `Official Notebooks` under the [notebooks/official](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/tree/main/notebooks/official) folder, follow this mandatory checklist:
- [X] Use the [notebook template](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/notebook_template.ipynb) as a starting point.
- [X] Follow the style and grammar rules outlined in the above notebook template.
- [X] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
- [X] Passes all the required automated checks. You can locally test for formatting and linting with these [instructions](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/CONTRIBUTING.md#code-quality-checks).
- [ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
- [X] This notebook has been added to the [CODEOWNERS](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/CODEOWNERS) file under the `Official Notebooks` section, pointing to the author or the author's team.
- [X] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.
* Made changes in accordance with notebook template
* Ran Linter test
* Changed protobuf version
* Ran linter test
* made sklearn to scikit learn
* ran linter
* andrew comments addressed
* ran linter
* ivan comments addressed
* ran linter
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
Co-authored-by: sudarshan-SpringML <82567512+sudarshan-SpringML@users.noreply.github.com>
Co-authored-by: sudarshan-SpringML <sudarshan.c@springml.com>
* made some minor changes
* Ran linter test
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: gcf-merge-on-green[bot] <60162190+gcf-merge-on-green[bot]@users.noreply.github.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* changed according to boiler plate requirements
* ran linter test
* changed according to boilerplate requirements
* linter test
* changed file based on boilerplate requirements
* linter test
* biolerplate requirements
* linter test
* changes based on boilerplate
* linter test
* added os library
* linter test
* textual corrections
* linter test
* biolerplate chnages
* linter test
* bioler plate changes
* linter test
Co-authored-by: gcf-merge-on-green[bot] <60162190+gcf-merge-on-green[bot]@users.noreply.github.com>
**REQUIRED:** Add a summary of your PR here, typically including why the change is needed and what was changed. Include any design alternatives for discussion purposes.
Hardcoded gcpc version because it fails in newer versions. And this is a request from model eval swe team to hardcode the version.
**REQUIRED:** Fill out the below checklists or remove if irrelevant
1. If you are opening a PR for `Official Notebooks` under the [notebooks/official](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/tree/main/notebooks/official) folder, follow this mandatory checklist:
- [x] Use the [notebook template](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/notebook_template.ipynb) as a starting point.
- [x] Follow the style and grammar rules outlined in the above notebook template.
- [x] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
- [x] Passes all the required automated checks. You can locally test for formatting and linting with these [instructions](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/CONTRIBUTING.md#code-quality-checks).
- [x] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
- [x] This notebook has been added to the [CODEOWNERS](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/CODEOWNERS) file under the `Official Notebooks` section, pointing to the author or the author's team.
- [x] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.
**Error from regression test**:RuntimeError: Job failed with:
code: 9
message: "The DAG failed because some tasks failed. The failed tasks are: [model-deploy].; Job (project_id = python-docs-samples-tests, job_id = 2073372166241386496) is failed due to the above error.; Failed to handle the job: {project_number = 1012616486416, job_id = 2073372166241386496}"
Changes made:
Just ran notebook in local. It ran fine. Updated notebook according to template
- [X] Use the [notebook template](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/notebook_template.ipynb) as a starting point.
- [X] Follow the style and grammar rules outlined in the above notebook template.
- [X] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
- [X] Passes all the required automated checks. You can locally test for formatting and linting with these [instructions](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/CONTRIBUTING.md#code-quality-checks).
- [ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
- [X] This notebook has been added to the [CODEOWNERS](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/CODEOWNERS) file under the `Official Notebooks` section, pointing to the author or the author's team.
- [X] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.
<br>
Reduce boilerplate for sdk-custom-image-classification-online.ipynb notebook
- [X] Use the [notebook template](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/notebook_template.ipynb) as a starting point.
- [X] Follow the style and grammar rules outlined in the above notebook template.
- [X] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
- [X] Passes all the required automated checks. You can locally test for formatting and linting with these [instructions](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/CONTRIBUTING.md#code-quality-checks).
- [ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
- [X] This notebook has been added to the [CODEOWNERS](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/CODEOWNERS) file under the `Official Notebooks` section, pointing to the author or the author's team.
- [X] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.
<br>
**REQUIRED:** Add a summary of your PR here, typically including why the change is needed and what was changed. Include any design alternatives for discussion purposes.
<br>
1. Boilerplate changes.
2. Added code for deleting experiment otherwise its throwing experiment name already exist.
<br><br><br>
**REQUIRED:** Fill out the below checklists or remove if irrelevant
1. If you are opening a PR for `Official Notebooks` under the [notebooks/official](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/tree/main/notebooks/official) folder, follow this mandatory checklist:
- [X] Use the [notebook template](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/notebook_template.ipynb) as a starting point.
- [X] Follow the style and grammar rules outlined in the above notebook template.
- [X] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
- [X] Passes all the required automated checks. You can locally test for formatting and linting with these [instructions](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/CONTRIBUTING.md#code-quality-checks).
- [ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
- [X] This notebook has been added to the [CODEOWNERS](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/CODEOWNERS) file under the `Official Notebooks` section, pointing to the author or the author's team.
- [X] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.
<br>
**REQUIRED:** Add a summary of your PR here, typically including why the change is needed and what was changed. Include any design alternatives for discussion purposes.
<br>
Boilerplate changes.
<br><br><br>
**REQUIRED:** Fill out the below checklists or remove if irrelevant
1. If you are opening a PR for `Official Notebooks` under the [notebooks/official](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/tree/main/notebooks/official) folder, follow this mandatory checklist:
- [X] Use the [notebook template](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/notebook_template.ipynb) as a starting point.
- [X] Follow the style and grammar rules outlined in the above notebook template.
- [X] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
- [X] Passes all the required automated checks. You can locally test for formatting and linting with these [instructions](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/CONTRIBUTING.md#code-quality-checks).
- [ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
- [X] This notebook has been added to the [CODEOWNERS](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/CODEOWNERS) file under the `Official Notebooks` section, pointing to the author or the author's team.
- [X] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.
<br>
* Update notebooks/official/matching_engine/README.md
* Update region tag formatting
* Update README.md format for single notebook
* Remove horizontal-rules for single notebook
* adds the custom tabular classification evaluation notebook
* removes json import
* ran linter test
* fixes the model serving code and adds image
* ran linter test
* adds notebook to the codeowners file
* addresses the review comments: updates text, adds headings
* ran linter test
* boiler-plate reduction, addresses the review comments, adds a constant for table id
* ran linter test
* updates the installation step
* ran linter test
* removes the --user flag while installation
* ran linter test
Co-authored-by: Soheila Zangeneh <49654056+soheilazangeneh@users.noreply.github.com>
Checklist for moving the notebook to the main repo:
- [x] Use the [notebook template](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/notebook_template.ipynb) as a starting point.
- [x] Follow the style and grammar rules outlined in the above notebook template.
- [x] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
- [x] Passes all the required automated checks. You can locally test for formatting and linting with these [instructions](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/docs/contributing.md#code-quality-checks).
- [ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
- [x] This notebook has been added to the [CODEOWNERS](https://togithub.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/docs/CODEOWNERS) file under `# Official Notebooks` section, pointing to the author or the author's team.
- [x] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.
* text correction made
* ran linter
* modified file
* ran linter
* updated file
* ran linter
* addressed comments
* ran linte
* changing component and parameter names as per new gcpc 1.0.26
* ran linter
* updated notebook as per new package changes
* modified notebook
* ran linter
Co-authored-by: Soheila Zangeneh <49654056+soheilazangeneh@users.noreply.github.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Cloud Storage bucket permission issues resolved
* Cloud Storage bucket permission issues resolved
* ran linter test
* DAG issues
* linter test
* textual corrections
* ran linter test
* added service account for pipeline job
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* added model evaluation component
* linter test cases
* linter test cases
* model_name param issues resolved
* linter test case
* import issues resloved
* linter test cases
* made review changes
* made review changes
* ran linter test
* made review changes
* made review changes
* made review changes
* linter test
* ran linter test
* made review changes
* ran linter test
* made review changes
* ran linter test
* linter test
* review changes
* ran linter test
* added The links for Colab, Github and Workbench
* added The links for Colab, Github and Workbench
* ran linter test
* added The links for Colab, Github and Workbench
* ran linter test
* added The links for Colab, Github and Workbench
* ran linter test
* notebook title changed
* ran linter test
* text changes and made review changes
* ran linter test
* made review changes
* linter test
* made review changes
* linter test
* content changes
* ran linter test
* textual corrections and links
* ran linter test
* changed function names bases on latest gcpc version
* ran linter test
* changed function names bases on latest gcpc version
* linter test
* ran linter test
* updated arguments in ModelEvaluationClassificationOp based on new version
* ran linter test
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
Co-authored-by: Soheila Zangeneh <49654056+soheilazangeneh@users.noreply.github.com>
* adds the custom-model-bq-io-batch-prediction-pipeline notebook to the official folder
* removes the unused libraries and variables
* ran linter test
* adds a raise exception statement to prevent auto-test check as this notebook is just to serve as a template
* resolves review comments: fixes names, removes trailing comma, fixes link format
* removes the raise excpetion step
* ran linter test
* cleans up code, explains sections and renames the notebook
* removes unused variable batch_predict_task
* removes unnecessary imports
* ran linter test
* updates the dependencies
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* file modified
* ran linter
* model evaluation metrics are printed
* ran linter
* notebook modified
* ran linter
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* upgrades gcpc to latest, adds minor textual corrections
* ran linter test
* minor textual corrections
* ran linter test
* fixes sentence cases, unnecessary capitalizations, article corrections and sentence corrections
* ran linter test
* renames the ground_truth_column argument in classificationeval component to target_field_name as per version 1.0.26 and updates the reference link
* ran linter test
* upgrades gcpc to latest, adds minor textual corrections
* ran linter test
* minor textual corrections
* ran linter test
* fixes sentence cases, unnecessary capitalizations, article corrections and sentence corrections
* ran linter test
* renames the ground_truth_column argument in classificationeval component to target_field_name as per version 1.0.26 and updates the reference link
* ran linter test
* fixes the prediction_score_column unsupported error, adds class_labels field, adds the targetfieldremover component, minor structural/textual updates
* ran linter test & updates the image
* removes unnecessary newline
* ran linter test
Co-authored-by: Soheila Zangeneh <49654056+soheilazangeneh@users.noreply.github.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Custom pytorch text sentiment classification
* Ran linter test
* Added creating predictor directory
* ran linter test
* Creating python package files from the notebook
* Ran linter test
* cleans up the pytorch-text-classification notebook, renames the directory and removes unnecessary files
* ran linter test
* rectifies the python test version
* ran linter test
* removes the python version line
* ran linter test
* restores the README.md file for official folder
* minor textual edits
* ran linter test
* updates notebook structure, removes unnecessary print statements, moves import statements to one cell, textual updates
* ran linter test
* corrects the Colab link
* ran linter test
* addresses review comments: grammatical/textual corrections
* ran linter test
Co-authored-by: krishr2d2 <krishna.movva@springml.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Made Minor changes
* Ran Linter test
* Made minor changes
* ran linter test
* Madesome Minor changes
* Ran linter test
* Made some minor changes
* Ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* added uuid and textual correction
* ran linter test
* made one cell for pip installations
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* made text corrections
* ran linter
* modified notebook
* modified notebook
* ran linter
* modified installation step
* ran linter
* updated component name and parameters
* ran linter
* ran linter
Co-authored-by: Soheila Zangeneh <49654056+soheilazangeneh@users.noreply.github.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* updates featurestore name with uuid to avoid name collisions, elaboration, textual corrections
* ran linter test
* addresses review comments: adds headings + textual corrections
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* add doc about using tensorboard in vertex pipeline
* format the doc
* fix format
* set default value to params
* fix format
* fix import
* fix format again
* update colab, github and workbench link
* update according to latest offical notebook template
* update according to comments
These pipelines were previously in community content.
We'd like to move them to the official folder.
These pipelines are:
* Working out of the box (code runs with zero modifications)
* End-to-end (from nothing to a Vertex Model)
* Feature multiple ML frameworks (TensorFlow, PyTorch, XGBoost, Scikit-learn)
* Feature multiple training objectives: tabular classification and tabular regression
The main files are Python-based pipeline code (`pipeline.py`).
These pipelines are:
* Working out of the box (run with zero modifications)
* End-to-end (from nothing to a Vertex Model)
* Feature multiple ML frameworks (TensorFlow, PyTorch, XGBoost, Scikit-learn)
* Feature multiple training objectives: tabular classification and tabular regression
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
* Add a colab to show how to integrate the training job with Dask.
* Reformat the notebook xgboost_data_parallel_training_on_cpu_using_dask
* Add the code owner of the sample training/xgboost_data_parallel_training_on_cpu_using_dask.ipynb
* Changed the project id to [your-project-id].
* Fixed the issue for Non colab.
* Adding the sample of converting the Vertex Vizier SDK with Open source Vizier.
* Add the owner for conversions_vertex_vizier_and_open_source_vizier.ipynb
* Addressed the comments in the xgboost_data_parallel_training_on_cpu_using_dask
* Fixed the format of xgboost_data_parallel_training_on_cpu_using_dask
* Addressed the comments in the training/xgboost_data_parallel_training_on_cpu_using_dask.ipynb
* Add explanation that Docker is not available on Colab.
* Add before docker command.
* add timeout in the worker to wait for the scheduler.
* Addressed the comments in the pr.
* Addressed the comments in the pr.
* added model evaluation component
* linter test cases
* linter test cases
* model_name param issues resolved
* linter test case
* import issues resloved
* linter test cases
* made review changes
* made review changes
* ran linter test
* made review changes
* made review changes
* made review changes
* linter test
* ran linter test
* made review changes
* ran linter test
* made review changes
* ran linter test
* linter test
* review changes
* ran linter test
* added The links for Colab, Github and Workbench
* added The links for Colab, Github and Workbench
* ran linter test
* added The links for Colab, Github and Workbench
* ran linter test
* added The links for Colab, Github and Workbench
* ran linter test
* notebook title changed
* ran linter test
* text changes and made review changes
* ran linter test
* made review changes
* linter test
* made review changes
* linter test
* content changes
* ran linter test
* textual corrections and links
* ran linter test
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
Co-authored-by: Soheila Zangeneh <49654056+soheilazangeneh@users.noreply.github.com>
* Add a colab to show how to integrate the training job with Dask.
* Reformat the notebook xgboost_data_parallel_training_on_cpu_using_dask
* Add the code owner of the sample training/xgboost_data_parallel_training_on_cpu_using_dask.ipynb
* Changed the project id to [your-project-id].
* Fixed the issue for Non colab.
* Addressed the comments in the xgboost_data_parallel_training_on_cpu_using_dask
* Fixed the format of xgboost_data_parallel_training_on_cpu_using_dask
* Addressed the comments in the training/xgboost_data_parallel_training_on_cpu_using_dask.ipynb
* Add explanation that Docker is not available on Colab.
* Add before docker command.
* add timeout in the worker to wait for the scheduler.
* cleans up the notebook,replaces docker with cloud build, textual edits still in progress
* cleans up the notebook
* ran linter test
* changes tf train/serve version to 2.9
* ran linter test
* adds '=' to fix a typo
* ran linter test
* updates the opencv installation package
* ran linter test
* updates the opencv installation dependencies
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: incorrect linking for index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: missed the REAME
* fix: update autogen index
* feat: add autogen index
* feat: add autogen index
* feat: add autogen index
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: objective conformance
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* fix: bad links and objective
* feat: added new notebook for PyTorch distributed training on reduction server
* Fixed linter errors
* Addressed review comments
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* resloved tf library issues
* ran linter test
* made review changes
* ran linter test
* made review changes
* ran linter
* made review changes
* linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Model evaluation for text classification using Automl
* Removed unused library
* Ran Linter Test
* Commented text
* Commented Text
* Ran Linter test
* Made changes suggested in review
* Removed unused import
* Ran Linter Test
* Removed dataflow parameters as mentioned in the review
* Ran Linter Test
* Made review changes and changed notebook links in the beginning of the notebook
* Ran Linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Add notebook for Wide & Deep on Vertex Pipelines
* Address comments
* Clear output
* Fix deletion logic
* Run linter
* Rename custom_job and hpt_job to pipeline_job
* Use Vertex SDK for deletion instead of gcloud
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Added notebook for TabNet on Vertex Pipelines
* Added notebook for TabNet on Vertex Pipelines
* Added notebook for TabNet on Vertex Pipelines
* Run linter
* Ran linter
* Ran linter again
* Addressed comments
* Addressed more comments
* Remove parameter definitions, reference documentation, add details under CustomJob/HPT job sections
* Address more comments
* Fix tests
* Bug fix
* Rework TabNet HPT job section
* Addressed more comments
* Update documentation links
* Fix tests
* Fix tests
* Linter and some changes
* Address more comments
* Update CustomJob description to align with documentation
* Use bank-marketing dataset instead of safedriver
* Rename variables
* Rename variables
* Update gcs location to official one
* Changes to make notebook run with updated SDK
* Bug fix
* Rewording
* Fix workbench link
* Update notebook format to align with template
* Fix deletion logic
* Run linter
* Rename custom_job and hpt_job to pipeline_job
* Use Vertex SDK for deletion instead of gcloud
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Made changes in accordance with Notebook template
* Ran Linter Test
* Attached UUID to BQ_DATSET and use bq to delete dataset
* Removed unused imports
* Ran Linter Test
* Fixed BQ_DATASET
* Fixed BQ_DATASET
* Ran linter test
* Made review changes
* Removed unused library
* Ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* add The links for Colab, Github and Workbench
* added The links for Colab, Github and Workbench
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* modified notebook telecom-subscriber-churn-prediction.ipynb
* ran linter
* changes suggested by andrew are done
* ran linter
* changes suggested by andrew done
* ran linter
* resolved error
* ran linter
* fixed a monor bug
* ran linter
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* added model evaluation component
* linter test cases
* linter test cases
* model_name param issues resolved
* linter test case
* import issues resloved
* linter test cases
* made review changes
* made review changes
* ran linter test
* made review changes
* made review changes
* made review changes
* linter test
* ran linter test
* made review changes
* ran linter test
* made review changes
* ran linter test
* linter test
* review changes
* ran linter test
* added The links for Colab, Github and Workbench
* added The links for Colab, Github and Workbench
* ran linter test
* added The links for Colab, Github and Workbench
* ran linter test
* added The links for Colab, Github and Workbench
* ran linter test
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* new notebook
* linter test passed
* linter test passed
* andy review
* linter test passed
* add codeowner
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* added model evaluation component
* linter test cases
* linter test cases
* model_name param issues resolved
* linter test case
* import issues resloved
* linter test cases
* made review changes
* made review changes
* ran linter test
* made review changes
* made review changes
* made review changes
* linter test
* ran linter test
* made review changes
* ran linter test
* made review changes
* ran linter test
* linter test
* review changes
* ran linter test
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* add new notebook
* linter test passed
* clean text
* linter test passed
* add code owner new model registry notebook
* add more description
* linter test passed
* align with new template
* linter test passed
* andy reviews
* linter test passed
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Added changes in notebook
* Ran linter test
* Replaced Timestamp with UUID; Added 'delete-bucket' in cleanup; Added condition for repo creation and few other minor changes
* Ran Linter Test
* Made some minor changes to install packages
* Made minor changes to fix linter failed tests
* ran linter test
* Made some minor changes
* ran linter test
* addresses the review comments: fixes container build steps, license year, updates according to the template
* ran linter test
* removes beta from gcloud to avoid timeouts
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
Co-authored-by: SamyuktaDR <samyukta.dontireddy@springml.com>
Co-authored-by: SamyuktaDR <45586340+SamyuktaDR@users.noreply.github.com>
Co-authored-by: Krishna Chaitanya Movva <krishr2d2@gmail.com>
Co-authored-by: krishr2d2 <krishna.movva@springml.com>
* resolves the shell-output issue + updates the structure based on the template
* ran linter test
* fixes issues from review: textual updates, delete_bucket=False
* ran linter test
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* modified notebook according to notebook_template.
* ran linter
* Added create dataset step
* ran linter
* replaced hardcoded dataset name with a variable
* ran linter
* changes suggested by nadrew done
* ran linter
* followed prolong lin comments, data cleaning now done in bigquery
* ran linter
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
* Add bqml-vertexai-model-registry notebook
* Run linter
* Add notebook to CODEOWNERS file
* Update the links
* Ran linter again
* Rename bigquey-ml folder to model-registry
* Add bigquery-ml folder
* Moved the notebook
* Deleted folder
* Resolve comments
* Use UUID
* Remove using existing endpoint
* Remove try statement
* Get model sample based on model's name
* Use job.result to check query job status
* Run linter
* Fix dataset not found error by adding region in bq client creation
* Revert changes
* Fix bq bugs
* Run linter
* Resolve comments
* Display dataframe
* Updated the codeowner file
* Updated the links and editted text
* Run linter
* Remove repeated resources
* Run linter
* Resolve comments
* Run linter
* Install pyarrow
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Create a function to get notebook python version for execution
* Inject python version to yaml file
* Fix python version references
* Add python string to python version variable
* add python version extraction script (untested)
* Create a function to get notebook python version for execution
* Inject python version to yaml file
* Fix python version references
* Add python string to python version variable
* Remove one notebook condition
* Remove extra check and use python 3 as default version
* Use python3.9 as default version
* Update python version notebook parser
* Add python version to the notebook template
* Fix bug
* Update python version parser function
* Add python version to a notebook for testing
* Run linter
* Use regex in python version parser function
* Add new notebook for testing
* Use better variable name
* fix typo
* Use f string instead +
* Use python from env instead of using _PYTHON_VERSION
* Use simpler regex
* Add python version test notebook
* Fixed a mistake
* Updated notebook template with python version
* Fixed python version format
* Print log contents to stdout
* Remove failing notebook
* Run linter
* Remove extra steps in the printed log
* Edit comments
* Run linter
* Run linter
* Revert test changes
Co-authored-by: AG Sol <aarongabriel@google.com>
* new changes for sentiment analysis notebook
* new changes for sentiment analysis notebook
* changed back to year 2021 text
* changed back to year 2021 text
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* added file
* removed unnecessary imports
* ran linter
* removed extra batch prediction component
* ran linter
* moved file to official
* changed links to point to official
* ran linter
* Jason comments addressed
* ran linter
* comments addressed
* ran linter
* comments addresed
* ran linter
* added predictionschema instance schema files
* ran linter
* Followed Karen Lin's comments
* ran linter
* replaced old prebuilt containers with latest ones
* ran linter
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Update the vizier codelab to replace the gapic library with new Vertex Vizier SDK.
* Added the [project_id] and [region] in the parameter field.
* Fixed the lint errors for vizier sample.
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* clean and update comparing_local_trained_models based on feedback
* linter test passed
* fix libraries
* linter test passed
* andy review fixes
* linter test passed
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* moves the sentiment_analysis notebook from community to official folder after making the updates
* removes unused modules
* ran linter test
* updates the dataset's GCS links and notebook links in the heading
* ran linter test
* fixes the typo(=)
* ran linter test
* removes wait() calls and IS_TESTING condition
* ran linter test
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* modified notebook
* ran linter
* tensorflow was used only for file reading.So replaced tensorflow with pandas
* ran linter
* made text changes
* ran linter
* latest andrew domments addressed
* ran linter
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Replaced timestamp with UUID
* Ran Linter test
* Removed local kernel from metadata
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
* add unfinished notebook on hpt using R
* clear output
* add working version of notebook
* finish R HPT notebook
* update CODEOWNERS
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Add automl regression model eval first draft
* Remove extra file
* Pring evaluation results
* adds the automl-tabular-classification notebook in model_evaluation folder
* removes unnecessary imports
* adjusts the imports inside the pipeline
* adjusts the imports
* elaborates imports inside pipeline
* modified regression notebook
* renamed pipeline displayname to resolve error
* Add automl regression model eval first draft
* Remove extra file
* Pring evaluation results
* modified some text
* added suggested updates from review: remove dataflow params, add/change textual descriptions, add UUID
* removes the output from the notebooks
* removes the extra matplotlib import
* ran linter test
* addressed soheila's comments
* ran linter
* addresses the review comments
* ran linter test
* removes the artifacts comment
* ran linter test
* reviewed comments
* ran linter
* addresses review comments: textual updates, removes unnecessary parameters
* ran linter test
* addressed comments
* ran linter
* removed unwanted variables
* ran linter
* addresses the tech-writer's comments + updates the pipeline image with data-sampler task
* ran linter test
* Update text
* Move model eval folder to official
* Update CODEOWNERS
* Run linter
* Removed problem_type parameter
* Run linter
* addresses Andrew's review comments: textual updates and removes additional gcpc installation
* ran linter test
* comments addressed
* ran linter
* removed trailing comma on last parameter of trainingjob.run
* ran linter
Co-authored-by: krishr2d2 <krishna.movva@springml.com>
Co-authored-by: sudarshan-SpringML <sudarshan.c@springml.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* feat: notebook for custom text model batch prediction
* feat: notebook for custom text model batch prediction
Co-authored-by: gericdong <itseric@google.com>
* Add automl regression model eval first draft
* Remove extra file
* Pring evaluation results
* adds the automl-tabular-classification notebook in model_evaluation folder
* removes unnecessary imports
* adjusts the imports inside the pipeline
* adjusts the imports
* elaborates imports inside pipeline
* modified regression notebook
* renamed pipeline displayname to resolve error
* Add automl regression model eval first draft
* Remove extra file
* Pring evaluation results
* modified some text
* added suggested updates from review: remove dataflow params, add/change textual descriptions, add UUID
* removes the output from the notebooks
* removes the extra matplotlib import
* ran linter test
* addressed soheila's comments
* ran linter
* addresses the review comments
* ran linter test
* removes the artifacts comment
* ran linter test
* reviewed comments
* ran linter
* addresses review comments: textual updates, removes unnecessary parameters
* ran linter test
* addressed comments
* ran linter
* removed unwanted variables
* ran linter
* addresses the tech-writer's comments + updates the pipeline image with data-sampler task
* ran linter test
Co-authored-by: krishr2d2 <krishna.movva@springml.com>
Co-authored-by: sudarshan-SpringML <sudarshan.c@springml.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* move bqml-vertex notebook from community to official
* add to CODEOWNERS official
* fix errors for execution-test
* fix project_id line
* fix linting
* fixes re: comments from sarahcdugan
* fix links at top of notebook from community/ to official/
* added UUID to model name
* fix linting
* fix error in TIMESTAMP --> UUID
* fixing linting double space
* fixes re: ivanmkc comments
* fixed notebook after linting issues
* linting via cloud shell
* simplified run_bq_query function
* linting
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
* Minor fixes for CPR Pytorch sample: Add missing test data, add auth info to readme, scrub private project and bucket names from config, tolerate missing config.json in unit tests.
* Minor fixes for CPR Pytorch sample: Add missing test data, add auth info to readme, scrub private project and bucket names from config, tolerate missing config.json in unit tests.
* Fix merge conflicts
* fix typo
* Point CPR links to main branch of SDK repo.
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* feat: add notebook for custom tabular batch predict
* feat: add notebook for custom tabular batch predict
* feat: add example for BQ input
* feat: add example for BQ input
* feat: add example for BQ input
* feat: add example for BQ input
* changed to andrew comments
* changes according to andrew comments
* changes according to andrew comments
* review changes
* review changes
* review changes
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* samples: Add a new sample for pre-built Pytorch deployments. It's
borrowed from the examples in community-content/pytorch_text_classification_using_vertex_sdk_and_gcloud.
* samples: Removed all training related stuff in the notebooks.
* samples: Fixed comments.
* samples: Updated readme.
* samples: Updated emails for Pytorch launch.
* Added condition to create Featurestore if it doesn't exist
* Ran Linter Test
* Made changes mentioned in review
* Ran Linter Test
* Attached uuid to featurestore_id to avoid error while creating featurestore with existing name
* Ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
less chance for an error and confusion in name clashing with the `datasets` pypi package also used in the notebook.
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Create explore_data_in_bigquery_with_workbench.ipynb
Adding in notebook for exploratory data analysis as part of "Data to AI" effort. See this Colab for what this notebook looks like after it is run: https://colab.research.google.com/drive/1JeNeMtj2A_5P5vo9wxSkrwHQM5JQSoAu. Submitting it with outputs shown since a lot of this about interactive visualization, which can inspire folks to use/read the notebook beyond just the code.
* Update CODEOWNERS
Adding owner for forthcoming exploratory data analysis notebook
* Update CODEOWNERS
* Updating exploratory data analysis notebook with latest updates from linter/review
* Updated notebook formatting to try to pass format test
* Trying again to pass notebook formatting test
* Trying again to pass notebook formatting test
* Trying again to pass notebook formatting test
* Linted version of notebook & better project picker
* Uploading linted version from ivanmkc@
* Update CODEOWNERS with EDA notebook
* Updated notebook w/ Tech Writer edits, re-ran all
* 1-2 minor text updates, try to pass linter again
* Trying w/ updated linted file from ivanmkc@
Co-authored-by: Ivan Cheung <ivans.mailbox@gmail.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* new changes of build model notebook
* new changes of build model notebook
* linter test issues
* linter test issues
* review changes
* review changes
* review changes
* review changes
* review changes
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* added new cell for is_colab condition
* added new cell for is_colab condition
* changes andrew comments
* changes andrew comments
* review changes
* review changes
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Made minor changes
* Ran linter test
* Made changes mentioned in the review
* Ran Linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Changed prediction_output format from csv to jsonl to support generate_explanations
* ran linter test
* Made the changes as mentioned in the review
* Ran Linter Test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Removed try except blocks from cleanup section
* Ran Linter test
* Made changes mentioned in review and removed globals
* Removed an unused variable
* Ran Linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* new notebook of classification beans
* new notebook of classification beans
* changes on andrew comments
* changes on andrew comments
* json file issues
* json file issue
* fixes issues from reviews: adds parameter descriptions, fixes clean up, textual updates and replaces gapic functionality
* ran linter test
* adds the missing machine-type parameter
* ran linter test
* retreives the metrics using dict method
* removes unused variables
* ran linter test
* replaces old code for resource-name with new one
* ran linter test
* updates fetching the resourceName from the training artifacts
* ran linter test
* adds wait method for endpoint deployment
* ran linter test
* removes the wait method
* ran linter test
* adds wait gcp resources component
* ran linter test
* updates colab link, removes wait component, sets force to true in delete endpoint step
* ran linter test
* adds endpoint.wait() method
* ran linter test
* moves model deletion down the endpoint deletion and removes endpoint.wait() method
* ran linter test
Co-authored-by: Krishna Chaitanya Movva <krishr2d2@gmail.com>
Co-authored-by: Krishna Chaitanya Movva <krishna.movva@springml.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* Add bqml-vertexai-model-registry notebook
* Run linter
* Add notebook to CODEOWNERS file
* Update the links
* Ran linter again
* Rename bigquey-ml folder to model-registry
* Add bigquery-ml folder
* Moved the notebook
* Deleted folder
* Resolve comments
* Use UUID
* Remove using existing endpoint
* Remove try statement
* Get model sample based on model's name
* Use job.result to check query job status
* Run linter
* Fix dataset not found error by adding region in bq client creation
* Revert changes
* Fix bq bugs
* Run linter
* Resolve comments
* Display dataframe
* Updated the codeowner file
* fix: notebook template tuning
* fix: notebook template tuning
* fix: possible confusion on when to wait for the email notification
* fix: possible confusion on when to wait for the email notification
* adds the updated predictive-maintenance (managed)notebook from community to official folder
* ran linter test
* resubmitting during phase2
* ran linter test
* addresses the review comments: updates based on the new template, sets delete_bucket to False
* ran linter test
* replaces timestamp with uuid
* ran linter test
Co-authored-by: Karl Weinmeister <11586922+kweinmeister@users.noreply.github.com>
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* fixes tensorflow version, replaces timestamp with uuid, adds service-account and minor textual changes
* removes second defnition of random library
* ran linter test
* uncomments the user flag and updates the installation command
* ran linter test
* removes the extra backslash
* ran linter test
* updates the installation step to fix long running compatibility checks
* ran linter test
* updates the METADATA path during installation steps
* ran linter test
* adds google-api-core version in the installation
* ran linter test
* removes METADATA step during installation
* ran linter test
* updates google api-core & auth versions
* ran linter test
* fixes tensorflow version, replaces timestamp with uuid, adds service-account and minor textual changes
* removes second defnition of random library
* ran linter test
* uncomments the user flag and updates the installation command
* ran linter test
* removes the extra backslash
* ran linter test
* updates the installation step to fix long running compatibility checks
* ran linter test
* updates the METADATA path during installation steps
* ran linter test
* adds google-api-core version in the installation
* ran linter test
* removes METADATA step during installation
* ran linter test
* updates google api-core & auth versions
* ran linter test
* fixes the issues from review: cell descriptions, parameter definitions, tense changes, 3rd person --> 2nd person, list model after pipeline run
* ran linter test
* removes the METADATA hack and updates the installations
* ran linter test
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
* changed based on andrew review comments
* changed based on andrew review comments
* import library issues
* import library issues
* import issues
* import issues
* modified notebook
* modified notebook
* added new notebook
* added new notebook
* new auto_ml_text_classifiation
* new auto_ml_text_classifiation
* new automl text classification
* linter test
* linter test
* changes on andrew comments
* changes on andrew comments
Co-authored-by: Andrew Ferlitsch <aferlitsch@google.com>
- Create a convention for resources created from vertex-ai-samples GH. We already have one IIRC
- Only delete those objects as part of our clean-up script.
- Don't run any tests on python-docs-samples-tests project, especially ones that affect resources created outside of our purview
- Add --dry-run option to the clean-up script. This option will just output the list of resources the script will delete instead of actually deleting the resources.
- Have a larger conversation in DEE before touching any resources that were not created as part of vertex-ai-samples
"**_NOTE_**: This notebook has been tested in the following environment:\n",
"\n",
"* Python version = 3.7\n",
"\n",
"**The following steps are required, regardless of your notebook environment.**\n",
"\n",
"1. [Select or create a Google Cloud project](https://console.cloud.google.com/cloud-resource-manager). When you first create an account, you get a $300 free credit towards your compute/storage costs.\n",
"\n",
"1. [Make sure that billing is enabled for your project](https://cloud.google.com/billing/docs/how-to/modify-project).\n",
"\n",
"1. [Enable the Vertex AI API and Compute Engine API](https://console.cloud.google.com/flows/enableapi?apiid=aiplatform.googleapis.com,compute_component).\n",
"\n",
"1. If you are running this notebook locally, you will need to install the [Cloud SDK](https://cloud.google.com/sdk).\n",
"\n",
"1. Enter your project ID in the cell below. Then run the cell to make sure the\n",
"Cloud SDK uses the right project for all the commands in this notebook.\n",
"\n",
"**Note**: Jupyter runs lines prefixed with `!` as shell commands, and it interpolates Python variables prefixed with `$` into these commands."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "c6516f90311b"
},
"outputs": [],
"source": [
"# test if the right python version is being used\n",
CPR ([custom prediction routines](https://github.com/googleapis/python-aiplatform/blob/custom-prediction-routine/google/cloud/aiplatform/prediction/README.md)) is a framework designed by Google Cloud developers to make it easier to combine machine learning models with custom preprocessing and postprocessing logic in a real-time serving application.
CPR ([custom prediction routines](https://github.com/googleapis/python-aiplatform/blob/main/google/cloud/aiplatform/prediction/README.md)) is a framework designed by Google Cloud developers to make it easier to combine machine learning models with custom preprocessing and postprocessing logic in a real-time serving application.
## Using this example
@@ -34,6 +34,23 @@ Finally, install the Python modules required to build and run the model server:
pip install -r requirements.txt
```
### Auth
This example uses Google Cloud Storage for hosting model artifacts and Artifact Registry to store the container image.
You'll need to authorize yourself before you can interact with these.
First, log in to GCP with application default credentials:
```sh
gcloud auth application-default login
```
Next, if you haven't done so already, set up the [gcloud credential helper](https://cloud.google.com/artifact-registry/docs/docker/authentication)
for the Artifact Registry region where you intend to host the image.
_parser = argparse.ArgumentParser(prog='Train logistic regression model using scikit learn from CSV', description='Train logistic regression model using Scikit-learn')
raise TypeError('Value "{}" has type "{}" instead of str.'.format(str(str_value), str(type(str_value))))
return str_value
import argparse
_parser = argparse.ArgumentParser(prog='Deploy model to endpoint for Google Cloud Vertex AI Model', description='Deploys Google Cloud Vertex AI Model to a Google Cloud Vertex AI Endpoint.')
# Checking whether the URI points to a single blob, a directory or a URI pattern
# URI points to a blob when that URI does not end with slash and listing that URI only yields the same URI
if [[ "$uri" != */ ]] && (gsutil ls "$uri" | grep --fixed-strings --line-regexp "$uri"); then
mkdir -p "$(dirname "$output_path")"
gsutil -m cp -r "$uri" "$output_path"
else
mkdir -p "$output_path" # When source path is a directory, gsutil requires the destination to also be a directory
gsutil -m rsync -r "$uri" "$output_path" # gsutil cp has different path handling than Linux cp. It always puts the source directory (name) inside the destination directory. gsutil rsync does not have that problem.
# PyTorch Deployment on Google Cloud: Text Classification
**This is an Experimental release**, covered by the Pre-GA Offerings Terms of your Google Cloud Platform [Terms of Service](https://cloud.google.com/terms).
Experiments are focused on validating a prototype and are not guaranteed to be released. They are not intended for production use or covered by any SLA, support obligation, or deprecation policy and might be subject to backward-incompatible changes.
**Kindly drop us a note before you run any scale tests.**
**Do not hesitate to contact vertexai-prediction-preview-feedback@google.com if you have any questions or run into any issues.**
The projects need to be added to the allowlist in order to deploy PyTorch models using Vertex AI Prediction pre-built PyTorch images. If you are interested in the feature, please send an email to vertexai-prediction-preview-feedback@google.com to provide your project numbers OR project ids.
## Overview
In the PyTorch on Google Cloud series of blog posts, we aim to share how to deploy PyTorch models at scale on [Vertex AI](https://cloud.google.com/vertex-ai).
This tutorial on text classification shows how to deploy a PyTorch based text classification model on [Vertex AI](https://cloud.google.com/vertex-ai/docs/start/client-libraries#python) using Vertex SDK and [`gcloud ai`](https://cloud.google.com/sdk/gcloud/reference/beta/ai).
## Notebooks
| <h4>Notebook</h4> | <h4>Description</h4> |
| :-------- | :------- |
| [pytorch-text-classification-vertex-ai-deploy.ipynb](./pytorch-text-classification-vertex-ai-deploy.ipynb) | Notebook to show deploying a PyTorch model on Vertex AI |
## Folders
| <h4>Folder Name</h4> | <h4>Description</h4> |
| :-------- | :------- |
| [`predictor`](./predictor) | Folder with custom prediction handler to deploy a PyTorch model to Vertex Prediction. In the [notebook](./pytorch-text-classification-vertex-ai-deploy.ipynb), this folder is used for deploying a PyTorch model on Vertex AI using Vertex Prediction pre-built PyTorch images |
"The `datasets` object itself is [`DatasetDict`](https://huggingface.co/docs/datasets/package_reference/main_classes.html#datasetdict), which contains one key for the training, validation and test set."
"The `dataset` object itself is [`DatasetDict`](https://huggingface.co/docs/datasets/package_reference/main_classes.html#datasetdict), which contains one key for the training, validation and test set."
]
},
{
@@ -681,12 +681,12 @@
"source": [
"print(\n",
" \"Total # of rows in training dataset {} and size {:5.2f} MB\".format(\n",
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
wget \
git \
vim
# Copy license.
RUN wget https://raw.githubusercontent.com/GoogleCloudPlatform/vertex-ai-samples/main/LICENSE
# Install libraries.
RUN pip install torchvision==0.14.1
RUN pip install transformers==4.26.1
RUN pip install datasets==2.9.0
RUN pip install accelerate==0.17.0
RUN pip install triton==2.0.0.dev20221120
RUN pip install xformers==0.0.16
RUN pip install Jinja2==3.1.2
RUN pip install ftfy==6.1.1
RUN pip install cloudml-hypertune==0.1.0.dev6
RUN pip install tensorboard==2.12.0
RUN pip install diffusers==0.17.1
# Config accelerate.
COPY model_oss/diffusers/train.sh train.sh
# Generate accelerate config at the beginning of docker run.
ENTRYPOINT["/bin/bash","train.sh"]
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.