google-cloud-pipeline-components 2.14.1__py3-none-any.whl → 2.15.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of google-cloud-pipeline-components might be problematic. Click here for more details.
- google_cloud_pipeline_components/_implementation/llm/generated/refined_image_versions.py +1 -1
- google_cloud_pipeline_components/_implementation/model_evaluation/llm_evaluation_preprocessor/component.py +14 -0
- google_cloud_pipeline_components/_implementation/starry_net/__init__.py +41 -0
- google_cloud_pipeline_components/_implementation/{model_evaluation/import_evaluation → starry_net/dataprep}/__init__.py +1 -2
- google_cloud_pipeline_components/_implementation/starry_net/dataprep/component.py +159 -0
- google_cloud_pipeline_components/_implementation/starry_net/evaluation/__init__.py +13 -0
- google_cloud_pipeline_components/_implementation/starry_net/evaluation/component.py +23 -0
- google_cloud_pipeline_components/_implementation/starry_net/evaluation/evaluation.yaml +197 -0
- google_cloud_pipeline_components/_implementation/starry_net/get_training_artifacts/__init__.py +13 -0
- google_cloud_pipeline_components/_implementation/starry_net/get_training_artifacts/component.py +62 -0
- google_cloud_pipeline_components/_implementation/starry_net/maybe_set_tfrecord_args/__init__.py +13 -0
- google_cloud_pipeline_components/_implementation/starry_net/maybe_set_tfrecord_args/component.py +77 -0
- google_cloud_pipeline_components/_implementation/starry_net/set_dataprep_args/__init__.py +13 -0
- google_cloud_pipeline_components/_implementation/starry_net/set_dataprep_args/component.py +97 -0
- google_cloud_pipeline_components/_implementation/starry_net/set_eval_args/__init__.py +13 -0
- google_cloud_pipeline_components/_implementation/starry_net/set_eval_args/component.py +76 -0
- google_cloud_pipeline_components/_implementation/starry_net/set_test_set/__init__.py +13 -0
- google_cloud_pipeline_components/_implementation/starry_net/set_test_set/component.py +48 -0
- google_cloud_pipeline_components/_implementation/starry_net/set_tfrecord_args/__init__.py +13 -0
- google_cloud_pipeline_components/_implementation/starry_net/set_tfrecord_args/component.py +70 -0
- google_cloud_pipeline_components/_implementation/starry_net/set_train_args/__init__.py +13 -0
- google_cloud_pipeline_components/_implementation/starry_net/set_train_args/component.py +90 -0
- google_cloud_pipeline_components/_implementation/starry_net/train/__init__.py +13 -0
- google_cloud_pipeline_components/_implementation/starry_net/train/component.py +209 -0
- google_cloud_pipeline_components/_implementation/starry_net/upload_decomposition_plots/__init__.py +13 -0
- google_cloud_pipeline_components/_implementation/starry_net/upload_decomposition_plots/component.py +59 -0
- google_cloud_pipeline_components/_implementation/starry_net/upload_model/__init__.py +13 -0
- google_cloud_pipeline_components/_implementation/starry_net/upload_model/component.py +23 -0
- google_cloud_pipeline_components/_implementation/starry_net/upload_model/upload_model.yaml +37 -0
- google_cloud_pipeline_components/_implementation/starry_net/version.py +18 -0
- google_cloud_pipeline_components/container/utils/error_surfacing.py +45 -0
- google_cloud_pipeline_components/container/v1/model/get_model/remote_runner.py +36 -7
- google_cloud_pipeline_components/preview/llm/rlhf/component.py +3 -6
- google_cloud_pipeline_components/preview/starry_net/__init__.py +19 -0
- google_cloud_pipeline_components/preview/starry_net/component.py +443 -0
- google_cloud_pipeline_components/proto/task_error_pb2.py +0 -1
- google_cloud_pipeline_components/v1/model_evaluation/evaluation_llm_text_generation_pipeline.py +4 -0
- google_cloud_pipeline_components/version.py +1 -1
- {google_cloud_pipeline_components-2.14.1.dist-info → google_cloud_pipeline_components-2.15.0.dist-info}/METADATA +17 -20
- {google_cloud_pipeline_components-2.14.1.dist-info → google_cloud_pipeline_components-2.15.0.dist-info}/RECORD +43 -14
- {google_cloud_pipeline_components-2.14.1.dist-info → google_cloud_pipeline_components-2.15.0.dist-info}/WHEEL +1 -1
- google_cloud_pipeline_components/_implementation/model_evaluation/import_evaluation/component.py +0 -208
- {google_cloud_pipeline_components-2.14.1.dist-info → google_cloud_pipeline_components-2.15.0.dist-info}/LICENSE +0 -0
- {google_cloud_pipeline_components-2.14.1.dist-info → google_cloud_pipeline_components-2.15.0.dist-info}/top_level.txt +0 -0
|
@@ -2,7 +2,7 @@ google_cloud_pipeline_components/__init__.py,sha256=HOU1WNUeWpY1HjluW8vbI7Cai_EF
|
|
|
2
2
|
google_cloud_pipeline_components/_image.py,sha256=lANDYNk1WSuGZSoTTRcWdjsUvCkkA-PmwouTM9Et7fY,828
|
|
3
3
|
google_cloud_pipeline_components/_placeholders.py,sha256=9yIbieYjZkZJg4xuKklxWQVn3Z-9ryb9Q6V15Jqpe98,3090
|
|
4
4
|
google_cloud_pipeline_components/utils.py,sha256=9FG7umyEXhyUvtNeC46NuQ04olDMR3o-Wp78V1xs8GY,11045
|
|
5
|
-
google_cloud_pipeline_components/version.py,sha256=
|
|
5
|
+
google_cloud_pipeline_components/version.py,sha256=B1LmnOje3jX6UBWw6MRYP4vz17e1zbc2Wbh_wwF8CHg,678
|
|
6
6
|
google_cloud_pipeline_components/_implementation/__init__.py,sha256=sb6SfJl6rt3AKjiWxd-KO9DSiZ3PzGZRcsqKuc1A2Cg,606
|
|
7
7
|
google_cloud_pipeline_components/_implementation/llm/__init__.py,sha256=sb6SfJl6rt3AKjiWxd-KO9DSiZ3PzGZRcsqKuc1A2Cg,606
|
|
8
8
|
google_cloud_pipeline_components/_implementation/llm/batch_prediction_pairwise.py,sha256=mARB-tDYFr0tpBrLCIh481H4LDuXdr_8UyKVUaOF5Cw,7569
|
|
@@ -30,7 +30,7 @@ google_cloud_pipeline_components/_implementation/llm/utils.py,sha256=E250cmvw0QU
|
|
|
30
30
|
google_cloud_pipeline_components/_implementation/llm/utils_test.py,sha256=co8gWyrowY5CpkFNsaLGQlD_gpIykkVI7czxIizp5cM,2864
|
|
31
31
|
google_cloud_pipeline_components/_implementation/llm/validate_pipeline.py,sha256=35E2jx3wG_1-qnF9u6GygEmekJ3dG9LklJx2Bh6ayJ8,4350
|
|
32
32
|
google_cloud_pipeline_components/_implementation/llm/generated/__init__.py,sha256=LYxMCPeZcfGqRbt3mo3hY7U02A6G8aWdP_RtdoqxNrQ,606
|
|
33
|
-
google_cloud_pipeline_components/_implementation/llm/generated/refined_image_versions.py,sha256=
|
|
33
|
+
google_cloud_pipeline_components/_implementation/llm/generated/refined_image_versions.py,sha256=dSLCXSQKd4M1HxSIhoAmASPIqDa2qx7BMzHB97vIEz8,763
|
|
34
34
|
google_cloud_pipeline_components/_implementation/model/__init__.py,sha256=KmOW74re0WZ93DWM1lqqQYbv6w1aIW66BMV3gaAdg3s,811
|
|
35
35
|
google_cloud_pipeline_components/_implementation/model/get_model/__init__.py,sha256=cXMkDUZHVSbXeXSa3qsI6Ef8Tad9nmusw5NUZaYORdE,662
|
|
36
36
|
google_cloud_pipeline_components/_implementation/model/get_model/component.py,sha256=H2sbMTWCw8nMDMT-Ni9-pdzVXEFmHYjtP3z1LcI5m5w,2307
|
|
@@ -57,8 +57,6 @@ google_cloud_pipeline_components/_implementation/model_evaluation/feature_extrac
|
|
|
57
57
|
google_cloud_pipeline_components/_implementation/model_evaluation/feature_extractor/component.py,sha256=u4P3hSGBnFXtn8MKb8g1J9FAA74VpowBmPTmSDFq9J4,5539
|
|
58
58
|
google_cloud_pipeline_components/_implementation/model_evaluation/import_evaluated_annotation/__init__.py,sha256=-znXeLR3Uhon4BsRcAqHdVhcSUCqkY7rFouQFLD6Atg,684
|
|
59
59
|
google_cloud_pipeline_components/_implementation/model_evaluation/import_evaluated_annotation/component.py,sha256=d1QlNA_hpSJNgvwRJFGKZnVi0zc0KhZEHzVkq5wJWXQ,3053
|
|
60
|
-
google_cloud_pipeline_components/_implementation/model_evaluation/import_evaluation/__init__.py,sha256=eG4D5YbXHkveV6PP1uX8ZL48LCZ1mUtKGKb520dpILg,674
|
|
61
|
-
google_cloud_pipeline_components/_implementation/model_evaluation/import_evaluation/component.py,sha256=uZEtGhRtkCtjJFxBHFv8LSm_m7KlJxgmMhc2Whw6Mrw,8026
|
|
62
60
|
google_cloud_pipeline_components/_implementation/model_evaluation/llm_classification_postprocessor/__init__.py,sha256=kEQ4aaKnV-KulHqbhb6eJIZzk4O7uSBRPzm_e3q_hcA,697
|
|
63
61
|
google_cloud_pipeline_components/_implementation/model_evaluation/llm_classification_postprocessor/component.py,sha256=H0g7nMK3JVdQonLe5jpKvvzm9N2YzFGQUWJwwfxQ33s,11227
|
|
64
62
|
google_cloud_pipeline_components/_implementation/model_evaluation/llm_embedding/__init__.py,sha256=CUSeP0l2KFuo2wbw00DE5Zur0jpgHpZ1aThg7yqWuGY,680
|
|
@@ -68,7 +66,7 @@ google_cloud_pipeline_components/_implementation/model_evaluation/llm_embedding_
|
|
|
68
66
|
google_cloud_pipeline_components/_implementation/model_evaluation/llm_evaluation/__init__.py,sha256=gDyltb_vTZRncaVZbMUkXYBHZsEg_CuaPAQVWUOGy7c,671
|
|
69
67
|
google_cloud_pipeline_components/_implementation/model_evaluation/llm_evaluation/component.py,sha256=rclGlXxDr6vozQ6elDDCDbdJXWjG461Z9nmTaiKGsFs,7478
|
|
70
68
|
google_cloud_pipeline_components/_implementation/model_evaluation/llm_evaluation_preprocessor/__init__.py,sha256=LLvQQ9Mv_md1POK_XErR7NUr-XAZX28w5KD0EQiT32w,684
|
|
71
|
-
google_cloud_pipeline_components/_implementation/model_evaluation/llm_evaluation_preprocessor/component.py,sha256=
|
|
69
|
+
google_cloud_pipeline_components/_implementation/model_evaluation/llm_evaluation_preprocessor/component.py,sha256=LTMJRqFLYlXE5iiO8O-vUPPbTIerAoL3rOGAMcwXKl8,8748
|
|
72
70
|
google_cloud_pipeline_components/_implementation/model_evaluation/llm_information_retrieval_preprocessor/__init__.py,sha256=UcAfohvqwJ7X8rlV6I2RsZ5ohYWbafXI5yYRAAwvspE,695
|
|
73
71
|
google_cloud_pipeline_components/_implementation/model_evaluation/llm_information_retrieval_preprocessor/component.py,sha256=hpwra0rXUP_LG6WNdnB9RD0cy1Gn3InrzAUJIk-oRc4,8142
|
|
74
72
|
google_cloud_pipeline_components/_implementation/model_evaluation/llm_retrieval_metrics/__init__.py,sha256=oVVVTCE230KYGcuz_rXYEuypZmm6OKg7K2BsFtpcDw0,701
|
|
@@ -90,6 +88,34 @@ google_cloud_pipeline_components/_implementation/model_evaluation/text2sql_prepr
|
|
|
90
88
|
google_cloud_pipeline_components/_implementation/model_evaluation/text2sql_preprocess/component.py,sha256=Gnc5lpJjnGtlxQKyX5wZNyms1QBQga8CiMBh77QBCYM,5197
|
|
91
89
|
google_cloud_pipeline_components/_implementation/model_evaluation/text2sql_validate_and_process/__init__.py,sha256=EFQ99_7vrJ7J4R5dv5bwnhEC_d5kPTv5xlaZeRg1p8s,701
|
|
92
90
|
google_cloud_pipeline_components/_implementation/model_evaluation/text2sql_validate_and_process/component.py,sha256=N0i_X8xNdLzcEKudSWTbzB_d8u0W4a7xp2D8CC2HDYM,5636
|
|
91
|
+
google_cloud_pipeline_components/_implementation/starry_net/__init__.py,sha256=CSopfSpiwuix5UEjjVQWINND1-0uTReQAZ6ZA6Y9m5U,2502
|
|
92
|
+
google_cloud_pipeline_components/_implementation/starry_net/version.py,sha256=ZamcYN82LR-FvLH63j6TPhZ999_sZGib_vmznmfp1T8,778
|
|
93
|
+
google_cloud_pipeline_components/_implementation/starry_net/dataprep/__init__.py,sha256=LYxMCPeZcfGqRbt3mo3hY7U02A6G8aWdP_RtdoqxNrQ,606
|
|
94
|
+
google_cloud_pipeline_components/_implementation/starry_net/dataprep/component.py,sha256=WkRWfbcwP1RV5yoK2ASfzW66JepGq9bxxS4fmpJ1-T8,7144
|
|
95
|
+
google_cloud_pipeline_components/_implementation/starry_net/evaluation/__init__.py,sha256=LYxMCPeZcfGqRbt3mo3hY7U02A6G8aWdP_RtdoqxNrQ,606
|
|
96
|
+
google_cloud_pipeline_components/_implementation/starry_net/evaluation/component.py,sha256=SlNxkVcaxmJRiOFxPjL71amNrE4R0J2UGl5xdHAZUgU,819
|
|
97
|
+
google_cloud_pipeline_components/_implementation/starry_net/evaluation/evaluation.yaml,sha256=qEcFeTONUU4HgiuPrqb8HkEPpkQARl6xIzGkRVuwogE,10283
|
|
98
|
+
google_cloud_pipeline_components/_implementation/starry_net/get_training_artifacts/__init__.py,sha256=LYxMCPeZcfGqRbt3mo3hY7U02A6G8aWdP_RtdoqxNrQ,606
|
|
99
|
+
google_cloud_pipeline_components/_implementation/starry_net/get_training_artifacts/component.py,sha256=BJk2iTzxwlwnKUFMziltSI25dxCkD7dr038c5Hwye_M,2213
|
|
100
|
+
google_cloud_pipeline_components/_implementation/starry_net/maybe_set_tfrecord_args/__init__.py,sha256=LYxMCPeZcfGqRbt3mo3hY7U02A6G8aWdP_RtdoqxNrQ,606
|
|
101
|
+
google_cloud_pipeline_components/_implementation/starry_net/maybe_set_tfrecord_args/component.py,sha256=Vv5_7aXU3mNw8JYFofioGMgik_qvokzoFSWgtJqVCcs,2734
|
|
102
|
+
google_cloud_pipeline_components/_implementation/starry_net/set_dataprep_args/__init__.py,sha256=LYxMCPeZcfGqRbt3mo3hY7U02A6G8aWdP_RtdoqxNrQ,606
|
|
103
|
+
google_cloud_pipeline_components/_implementation/starry_net/set_dataprep_args/component.py,sha256=mOHSabzjZXGCD6Nd-B-kAaOBsUoCTAEoFYLudk6l03k,3713
|
|
104
|
+
google_cloud_pipeline_components/_implementation/starry_net/set_eval_args/__init__.py,sha256=LYxMCPeZcfGqRbt3mo3hY7U02A6G8aWdP_RtdoqxNrQ,606
|
|
105
|
+
google_cloud_pipeline_components/_implementation/starry_net/set_eval_args/component.py,sha256=MEtS4QXWZgoVi5K9LlEv6WQ7teXR-UbzCOnMEjkroDQ,2638
|
|
106
|
+
google_cloud_pipeline_components/_implementation/starry_net/set_test_set/__init__.py,sha256=LYxMCPeZcfGqRbt3mo3hY7U02A6G8aWdP_RtdoqxNrQ,606
|
|
107
|
+
google_cloud_pipeline_components/_implementation/starry_net/set_test_set/component.py,sha256=6OEzrA5-VTJMVR6udi9sG_-GjygkzX1MeiypWLILxcM,1686
|
|
108
|
+
google_cloud_pipeline_components/_implementation/starry_net/set_tfrecord_args/__init__.py,sha256=LYxMCPeZcfGqRbt3mo3hY7U02A6G8aWdP_RtdoqxNrQ,606
|
|
109
|
+
google_cloud_pipeline_components/_implementation/starry_net/set_tfrecord_args/component.py,sha256=xjXUunPDU0HmkTrPzWl9hfcQHcgdEtnCxYEEuS9sPd0,2423
|
|
110
|
+
google_cloud_pipeline_components/_implementation/starry_net/set_train_args/__init__.py,sha256=LYxMCPeZcfGqRbt3mo3hY7U02A6G8aWdP_RtdoqxNrQ,606
|
|
111
|
+
google_cloud_pipeline_components/_implementation/starry_net/set_train_args/component.py,sha256=MEol3nBmsGLMwiCnH9NhBCPxSmZkqyKco9qmkr9hXbA,3466
|
|
112
|
+
google_cloud_pipeline_components/_implementation/starry_net/train/__init__.py,sha256=LYxMCPeZcfGqRbt3mo3hY7U02A6G8aWdP_RtdoqxNrQ,606
|
|
113
|
+
google_cloud_pipeline_components/_implementation/starry_net/train/component.py,sha256=9kz5Wcho8JLUj0KebnqHjZjxGT9G6y3kzohG31DipSE,10324
|
|
114
|
+
google_cloud_pipeline_components/_implementation/starry_net/upload_decomposition_plots/__init__.py,sha256=LYxMCPeZcfGqRbt3mo3hY7U02A6G8aWdP_RtdoqxNrQ,606
|
|
115
|
+
google_cloud_pipeline_components/_implementation/starry_net/upload_decomposition_plots/component.py,sha256=pmN0GQ-pCvCy3Wo28a-TgN_AVdngAJgOzWlOhbf6-3g,2208
|
|
116
|
+
google_cloud_pipeline_components/_implementation/starry_net/upload_model/__init__.py,sha256=LYxMCPeZcfGqRbt3mo3hY7U02A6G8aWdP_RtdoqxNrQ,606
|
|
117
|
+
google_cloud_pipeline_components/_implementation/starry_net/upload_model/component.py,sha256=P-gCilLSI8ypUDwRFSZKmkS0FS9JBXr6vk7_qLDTidE,826
|
|
118
|
+
google_cloud_pipeline_components/_implementation/starry_net/upload_model/upload_model.yaml,sha256=6eTzVJ7bvp67NjN0Y3HwZWdgYdswJTVXiQNSdOtSh_E,1462
|
|
93
119
|
google_cloud_pipeline_components/container/__init__.py,sha256=5X_ymPsBAGK9hpepKd1PR0opJLeeMmHvB2DR5YjAtCQ,651
|
|
94
120
|
google_cloud_pipeline_components/container/_implementation/__init__.py,sha256=Yz9TE5TRKlmUV6auolXWipHdEffdDa9XbXJ1P2uAjpo,659
|
|
95
121
|
google_cloud_pipeline_components/container/_implementation/llm/__init__.py,sha256=D8WxLEcHEUlehVGp6bSBsCOyJz3Nza7OGJ5jGMEXNgI,665
|
|
@@ -114,6 +140,7 @@ google_cloud_pipeline_components/container/preview/gcp_launcher/__init__.py,sha2
|
|
|
114
140
|
google_cloud_pipeline_components/container/preview/gcp_launcher/job_remote_runner.py,sha256=-p4kwPvfeW3WcggjcZueZ0eQna_Tu47wvO31XlbY0Gs,8447
|
|
115
141
|
google_cloud_pipeline_components/container/utils/__init__.py,sha256=yqPd0QW1ITPpcgd-0Fv5665kTX1HRPNutCfkBXnA_uA,638
|
|
116
142
|
google_cloud_pipeline_components/container/utils/artifact_utils.py,sha256=VEb89NTTcyiy_ouO0ysosUv3nDwj9QfI_EbZnX9kHZk,3027
|
|
143
|
+
google_cloud_pipeline_components/container/utils/error_surfacing.py,sha256=OWi8ylVGsmDjOicTwmSWWOwdLsd-k7zOlOru9r5VNZw,1665
|
|
117
144
|
google_cloud_pipeline_components/container/utils/execution_context.py,sha256=6d2qC7IE5BcVT2nLZzBg6T-I3yPiU1_J61t2wtlDEe8,1841
|
|
118
145
|
google_cloud_pipeline_components/container/v1/__init__.py,sha256=iEvOrKaUA31vCoQeMAr7EBPKPkIwv5iLQ1tChsJok8w,651
|
|
119
146
|
google_cloud_pipeline_components/container/v1/aiplatform/__init__.py,sha256=5X_ymPsBAGK9hpepKd1PR0opJLeeMmHvB2DR5YjAtCQ,651
|
|
@@ -265,7 +292,7 @@ google_cloud_pipeline_components/container/v1/model/export_model/launcher.py,sha
|
|
|
265
292
|
google_cloud_pipeline_components/container/v1/model/export_model/remote_runner.py,sha256=YJwkjq5UhJtpX43pjqGs09dNPWpjJqct6cRAHDFBmZk,2479
|
|
266
293
|
google_cloud_pipeline_components/container/v1/model/get_model/__init__.py,sha256=PgJlyiNYIex-iqZFd3B2H3SA8y0Kpajg8aFBEq36pwU,685
|
|
267
294
|
google_cloud_pipeline_components/container/v1/model/get_model/launcher.py,sha256=VTDS59v35zz25UqA4mmTwhdmqluuKk6uinadn4KtgQ4,1909
|
|
268
|
-
google_cloud_pipeline_components/container/v1/model/get_model/remote_runner.py,sha256=
|
|
295
|
+
google_cloud_pipeline_components/container/v1/model/get_model/remote_runner.py,sha256=22DbMMpl9E-KPdHkOVP29v5pkS52BovcWLwJxCBfz24,3044
|
|
269
296
|
google_cloud_pipeline_components/container/v1/model/upload_model/__init__.py,sha256=NZJ1pbjANZ1XDV-RvjtJcKX7Bdhw39_Eh_DRMq6vOko,688
|
|
270
297
|
google_cloud_pipeline_components/container/v1/model/upload_model/launcher.py,sha256=QwnM9K43By8MNM9_iiIJH7LexeI6WLA5-V8iRS2S-0Y,2331
|
|
271
298
|
google_cloud_pipeline_components/container/v1/model/upload_model/remote_runner.py,sha256=elCve0-6IrfQyI4qWVt6d5yI_DwwxOXVUE5aKF1U-mk,4480
|
|
@@ -330,7 +357,7 @@ google_cloud_pipeline_components/preview/llm/infer/component.py,sha256=p6gnwCjex
|
|
|
330
357
|
google_cloud_pipeline_components/preview/llm/rlaif/__init__.py,sha256=LYxMCPeZcfGqRbt3mo3hY7U02A6G8aWdP_RtdoqxNrQ,606
|
|
331
358
|
google_cloud_pipeline_components/preview/llm/rlaif/component.py,sha256=F4uzuz2pcLDd5IJ6--IkZf2dcmimiYfCivwmPwL_QIg,10801
|
|
332
359
|
google_cloud_pipeline_components/preview/llm/rlhf/__init__.py,sha256=sb6SfJl6rt3AKjiWxd-KO9DSiZ3PzGZRcsqKuc1A2Cg,606
|
|
333
|
-
google_cloud_pipeline_components/preview/llm/rlhf/component.py,sha256=
|
|
360
|
+
google_cloud_pipeline_components/preview/llm/rlhf/component.py,sha256=9XpSVUga81GTqkn4qMBddhc41IzY0-p4IBC4UFP50G4,15339
|
|
334
361
|
google_cloud_pipeline_components/preview/model_evaluation/__init__.py,sha256=n076N7S2HEdMuSZ8cyKM6acjCjslOHjCx4SR49asRME,2121
|
|
335
362
|
google_cloud_pipeline_components/preview/model_evaluation/data_bias_component.py,sha256=YiwkWfbGymX_lDIg_x7AP6nYMm3MQp_NgV8xuSZxCpU,5791
|
|
336
363
|
google_cloud_pipeline_components/preview/model_evaluation/feature_attribution_component.py,sha256=XWrI1inQ9hKixFrp2LUdgu7hONYUvbsxv2GXZ-UTkCY,7450
|
|
@@ -338,9 +365,11 @@ google_cloud_pipeline_components/preview/model_evaluation/feature_attribution_gr
|
|
|
338
365
|
google_cloud_pipeline_components/preview/model_evaluation/model_bias_component.py,sha256=R8WhT8jf_OOpMuABRh2BYTDEcfiGAf6VA-vFgiTymYY,6674
|
|
339
366
|
google_cloud_pipeline_components/preview/model_evaluation/model_evaluation_import_component.py,sha256=ePHbJqWYbZR5wCgJ8aVgDrOcWSoAiVq7df6HxTw1gdY,8118
|
|
340
367
|
google_cloud_pipeline_components/preview/model_evaluation/utils.py,sha256=oRlEvA3zMSTzgxJklZD0A-BzFDx0-PsBHBXZ4kmaREY,7539
|
|
368
|
+
google_cloud_pipeline_components/preview/starry_net/__init__.py,sha256=yEpcicPBsGqgahrCtcJ06a_7E2pUgdp32U0yWwFRy7E,796
|
|
369
|
+
google_cloud_pipeline_components/preview/starry_net/component.py,sha256=Qq23bAUh4-DqR9D8dqQA9bvY8peGLVoe5MNho0UwPmg,22831
|
|
341
370
|
google_cloud_pipeline_components/proto/__init__.py,sha256=aiPUc6gpQwG9cRTYfw3ChFCJfDr3vAIsm2eMYUDJjJQ,661
|
|
342
371
|
google_cloud_pipeline_components/proto/gcp_resources_pb2.py,sha256=ssNNm4zjiWbuBUS7IH6kyrvvfmcC_Z5F7hOAuQe_YLk,2134
|
|
343
|
-
google_cloud_pipeline_components/proto/task_error_pb2.py,sha256=
|
|
372
|
+
google_cloud_pipeline_components/proto/task_error_pb2.py,sha256=PPz4luEm3Pa3YDn4mtpqEPl8QVSFa44pV8W2KbWRq1I,1235
|
|
344
373
|
google_cloud_pipeline_components/proto/template_metadata_pb2.py,sha256=RGyD_xJ9C_YmUCqgqifnY4HF8Y8kkIHzLcpbbqeXUEw,9939
|
|
345
374
|
google_cloud_pipeline_components/types/__init__.py,sha256=1WFkL49QEy-gNb6ywQOE4yZkD7DoULAeiL1tLdb3S28,606
|
|
346
375
|
google_cloud_pipeline_components/types/artifact_types.py,sha256=zvwvzRuFb_s1VS1mtKkltOOACATJk-kG7dVFOUasfw4,23725
|
|
@@ -515,7 +544,7 @@ google_cloud_pipeline_components/v1/model_evaluation/evaluation_automl_tabular_p
|
|
|
515
544
|
google_cloud_pipeline_components/v1/model_evaluation/evaluation_automl_unstructure_data_pipeline.py,sha256=LlMSMVbiZGXOZo4SqEQZZu9GQWWzHnwhrygwmDkqVdA,42457
|
|
516
545
|
google_cloud_pipeline_components/v1/model_evaluation/evaluation_feature_attribution_pipeline.py,sha256=wEu67EPXb9x9PcYMYmnuETKbAz_lP5Kewv439IiFxIM,51226
|
|
517
546
|
google_cloud_pipeline_components/v1/model_evaluation/evaluation_llm_classification_pipeline.py,sha256=vF_EOPg7S3UCTCNw6GrhQz_Sn8ctPZ-JpJEt6JlSF3Y,12036
|
|
518
|
-
google_cloud_pipeline_components/v1/model_evaluation/evaluation_llm_text_generation_pipeline.py,sha256=
|
|
547
|
+
google_cloud_pipeline_components/v1/model_evaluation/evaluation_llm_text_generation_pipeline.py,sha256=o169DX7cJuaLmbp2VSQgXrlluoCJHwuHqXdaHYgLA6w,11812
|
|
519
548
|
google_cloud_pipeline_components/v1/model_evaluation/forecasting_component.py,sha256=gOnvKAJWa3velczeuVBCzW6b_tcc2v_lNFqHXGhjD44,10017
|
|
520
549
|
google_cloud_pipeline_components/v1/model_evaluation/regression_component.py,sha256=eFrjrKQot3-SlRCoKoTOEsyp2Xj0GfDtrjpxTDKAHYY,9117
|
|
521
550
|
google_cloud_pipeline_components/v1/model_evaluation/model_based_llm_evaluation/__init__.py,sha256=57gYyoAJwLIeXoLTTyVqOWgkj7dlUP4IKM4OmMabCRM,828
|
|
@@ -525,8 +554,8 @@ google_cloud_pipeline_components/v1/vertex_notification_email/__init__.py,sha256
|
|
|
525
554
|
google_cloud_pipeline_components/v1/vertex_notification_email/component.py,sha256=Dau8ZI0mzLBnLOUBQm6EtK8gbtX1u57t76Ud5qlg9xc,2163
|
|
526
555
|
google_cloud_pipeline_components/v1/wait_gcp_resources/__init__.py,sha256=w6dfz-rYsYnxFapRH1Dix3GVz0mhPW0m1IVpE6z8jbg,878
|
|
527
556
|
google_cloud_pipeline_components/v1/wait_gcp_resources/component.py,sha256=Nsfj5c3eeZq83fHLvv2IlpK4jrjxLxRksFYOl5W6JnA,2468
|
|
528
|
-
google_cloud_pipeline_components-2.
|
|
529
|
-
google_cloud_pipeline_components-2.
|
|
530
|
-
google_cloud_pipeline_components-2.
|
|
531
|
-
google_cloud_pipeline_components-2.
|
|
532
|
-
google_cloud_pipeline_components-2.
|
|
557
|
+
google_cloud_pipeline_components-2.15.0.dist-info/LICENSE,sha256=VAc1R5OxOELKsX5L5Ldp5THfNtxtt1cMIZBaC0Jdj5Q,13118
|
|
558
|
+
google_cloud_pipeline_components-2.15.0.dist-info/METADATA,sha256=NY4mchqdmHxUJLDxtd__VeILGopuo9IFsBqgoVy3ttc,5810
|
|
559
|
+
google_cloud_pipeline_components-2.15.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
560
|
+
google_cloud_pipeline_components-2.15.0.dist-info/top_level.txt,sha256=E8T4T8KGMGLXbHvt2goa98oezRpxryPC6QhWBZ27Hhc,33
|
|
561
|
+
google_cloud_pipeline_components-2.15.0.dist-info/RECORD,,
|
google_cloud_pipeline_components/_implementation/model_evaluation/import_evaluation/component.py
DELETED
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
# Copyright 2023 The Kubeflow Authors. All Rights Reserved.
|
|
2
|
-
#
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
#
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
#
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
from typing import List, Optional
|
|
17
|
-
|
|
18
|
-
from google_cloud_pipeline_components import _image
|
|
19
|
-
from google_cloud_pipeline_components.types.artifact_types import ClassificationMetrics
|
|
20
|
-
from google_cloud_pipeline_components.types.artifact_types import ForecastingMetrics
|
|
21
|
-
from google_cloud_pipeline_components.types.artifact_types import RegressionMetrics
|
|
22
|
-
from google_cloud_pipeline_components.types.artifact_types import VertexModel
|
|
23
|
-
from kfp import dsl
|
|
24
|
-
from kfp.dsl import Input
|
|
25
|
-
from kfp.dsl import Metrics
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
@dsl.container_component
|
|
29
|
-
def model_evaluation_import(
|
|
30
|
-
model: Input[VertexModel],
|
|
31
|
-
gcp_resources: dsl.OutputPath(str),
|
|
32
|
-
evaluation_resource_name: dsl.OutputPath(str),
|
|
33
|
-
metrics: Optional[Input[Metrics]] = None,
|
|
34
|
-
row_based_metrics: Optional[Input[Metrics]] = None,
|
|
35
|
-
problem_type: Optional[str] = None,
|
|
36
|
-
classification_metrics: Optional[Input[ClassificationMetrics]] = None,
|
|
37
|
-
forecasting_metrics: Optional[Input[ForecastingMetrics]] = None,
|
|
38
|
-
regression_metrics: Optional[Input[RegressionMetrics]] = None,
|
|
39
|
-
text_generation_metrics: Optional[Input[Metrics]] = None,
|
|
40
|
-
question_answering_metrics: Optional[Input[Metrics]] = None,
|
|
41
|
-
summarization_metrics: Optional[Input[Metrics]] = None,
|
|
42
|
-
explanation: Optional[Input[Metrics]] = None,
|
|
43
|
-
feature_attributions: Optional[Input[Metrics]] = None,
|
|
44
|
-
embedding_metrics: Optional[Input[Metrics]] = None,
|
|
45
|
-
display_name: str = "",
|
|
46
|
-
dataset_path: str = "",
|
|
47
|
-
dataset_paths: List[str] = [],
|
|
48
|
-
dataset_type: str = "",
|
|
49
|
-
):
|
|
50
|
-
# fmt: off
|
|
51
|
-
"""Imports a model evaluation artifact to an existing Vertex model with
|
|
52
|
-
ModelService.ImportModelEvaluation.
|
|
53
|
-
|
|
54
|
-
For more details, see
|
|
55
|
-
https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.models.evaluations
|
|
56
|
-
One of the four metrics inputs must be provided, metrics & problem_type,
|
|
57
|
-
classification_metrics, regression_metrics, or forecasting_metrics.
|
|
58
|
-
|
|
59
|
-
Args:
|
|
60
|
-
model: Vertex model resource that will be the parent resource of the
|
|
61
|
-
uploaded evaluation.
|
|
62
|
-
metrics: Path of metrics generated from an evaluation component.
|
|
63
|
-
row_based_metrics:
|
|
64
|
-
Path of row_based_metrics generated from an evaluation component.
|
|
65
|
-
problem_type: The problem type of the metrics being imported to the
|
|
66
|
-
VertexModel. `classification`, `regression`, `forecasting`,
|
|
67
|
-
`text-generation`, `question-answering`, and `summarization` are the
|
|
68
|
-
currently supported problem types. Must be provided when `metrics` is
|
|
69
|
-
provided.
|
|
70
|
-
classification_metrics: google.ClassificationMetrics artifact generated from
|
|
71
|
-
the ModelEvaluationClassificationOp component.
|
|
72
|
-
forecasting_metrics: google.ForecastingMetrics artifact generated from
|
|
73
|
-
the ModelEvaluationForecastingOp component.
|
|
74
|
-
regression_metrics: google.ClassificationMetrics artifact generated from
|
|
75
|
-
the ModelEvaluationRegressionOp component.
|
|
76
|
-
text_generation_metrics: system.Metrics artifact generated from
|
|
77
|
-
the LLMEvaluationTextGenerationOp component. Subject to change to
|
|
78
|
-
google.TextGenerationMetrics.
|
|
79
|
-
question_answering_metrics: system.Metrics artifact generated from
|
|
80
|
-
the LLMEvaluationTextGenerationOp component. Subject to change to
|
|
81
|
-
google.QuestionAnsweringMetrics.
|
|
82
|
-
summarization_metrics: system.Metrics artifact generated from
|
|
83
|
-
the LLMEvaluationTextGenerationOp component. Subject to change to
|
|
84
|
-
google.SummarizationMetrics.
|
|
85
|
-
explanation: Path for model explanation metrics generated from an evaluation
|
|
86
|
-
component.
|
|
87
|
-
feature_attributions: The feature attributions metrics artifact generated
|
|
88
|
-
from the feature attribution component.
|
|
89
|
-
embedding_metrics: The embedding metrics artifact generated from the
|
|
90
|
-
embedding retrieval metrics component.
|
|
91
|
-
display_name: The display name for the uploaded model evaluation resource.
|
|
92
|
-
"""
|
|
93
|
-
# fmt: on
|
|
94
|
-
return dsl.ContainerSpec(
|
|
95
|
-
image=_image.GCPC_IMAGE_TAG,
|
|
96
|
-
command=[
|
|
97
|
-
"python3",
|
|
98
|
-
"-u",
|
|
99
|
-
"-m",
|
|
100
|
-
"google_cloud_pipeline_components.container._implementation.model_evaluation.import_model_evaluation",
|
|
101
|
-
],
|
|
102
|
-
args=[
|
|
103
|
-
dsl.IfPresentPlaceholder(
|
|
104
|
-
input_name="metrics",
|
|
105
|
-
then=[
|
|
106
|
-
"--metrics",
|
|
107
|
-
metrics.uri,
|
|
108
|
-
"--metrics_explanation",
|
|
109
|
-
metrics.metadata["explanation_gcs_path"],
|
|
110
|
-
],
|
|
111
|
-
),
|
|
112
|
-
dsl.IfPresentPlaceholder(
|
|
113
|
-
input_name="row_based_metrics",
|
|
114
|
-
then=[
|
|
115
|
-
"--row_based_metrics",
|
|
116
|
-
row_based_metrics.uri,
|
|
117
|
-
],
|
|
118
|
-
),
|
|
119
|
-
dsl.IfPresentPlaceholder(
|
|
120
|
-
input_name="explanation",
|
|
121
|
-
then=[
|
|
122
|
-
"--explanation",
|
|
123
|
-
explanation.metadata["explanation_gcs_path"],
|
|
124
|
-
],
|
|
125
|
-
),
|
|
126
|
-
dsl.IfPresentPlaceholder(
|
|
127
|
-
input_name="classification_metrics",
|
|
128
|
-
then=[
|
|
129
|
-
"--classification_metrics",
|
|
130
|
-
classification_metrics.uri,
|
|
131
|
-
],
|
|
132
|
-
),
|
|
133
|
-
dsl.IfPresentPlaceholder(
|
|
134
|
-
input_name="forecasting_metrics",
|
|
135
|
-
then=[
|
|
136
|
-
"--forecasting_metrics",
|
|
137
|
-
forecasting_metrics.uri,
|
|
138
|
-
],
|
|
139
|
-
),
|
|
140
|
-
dsl.IfPresentPlaceholder(
|
|
141
|
-
input_name="regression_metrics",
|
|
142
|
-
then=[
|
|
143
|
-
"--regression_metrics",
|
|
144
|
-
regression_metrics.uri,
|
|
145
|
-
],
|
|
146
|
-
),
|
|
147
|
-
dsl.IfPresentPlaceholder(
|
|
148
|
-
input_name="text_generation_metrics",
|
|
149
|
-
then=[
|
|
150
|
-
"--text_generation_metrics",
|
|
151
|
-
text_generation_metrics.uri,
|
|
152
|
-
],
|
|
153
|
-
),
|
|
154
|
-
dsl.IfPresentPlaceholder(
|
|
155
|
-
input_name="question_answering_metrics",
|
|
156
|
-
then=[
|
|
157
|
-
"--question_answering_metrics",
|
|
158
|
-
question_answering_metrics.uri,
|
|
159
|
-
],
|
|
160
|
-
),
|
|
161
|
-
dsl.IfPresentPlaceholder(
|
|
162
|
-
input_name="summarization_metrics",
|
|
163
|
-
then=[
|
|
164
|
-
"--summarization_metrics",
|
|
165
|
-
summarization_metrics.uri,
|
|
166
|
-
],
|
|
167
|
-
),
|
|
168
|
-
dsl.IfPresentPlaceholder(
|
|
169
|
-
input_name="feature_attributions",
|
|
170
|
-
then=[
|
|
171
|
-
"--feature_attributions",
|
|
172
|
-
feature_attributions.uri,
|
|
173
|
-
],
|
|
174
|
-
),
|
|
175
|
-
dsl.IfPresentPlaceholder(
|
|
176
|
-
input_name="embedding_metrics",
|
|
177
|
-
then=[
|
|
178
|
-
"--embedding_metrics",
|
|
179
|
-
embedding_metrics.uri,
|
|
180
|
-
],
|
|
181
|
-
),
|
|
182
|
-
dsl.IfPresentPlaceholder(
|
|
183
|
-
input_name="problem_type",
|
|
184
|
-
then=[
|
|
185
|
-
"--problem_type",
|
|
186
|
-
problem_type,
|
|
187
|
-
],
|
|
188
|
-
),
|
|
189
|
-
"--display_name",
|
|
190
|
-
display_name,
|
|
191
|
-
"--dataset_path",
|
|
192
|
-
dataset_path,
|
|
193
|
-
"--dataset_paths",
|
|
194
|
-
dataset_paths,
|
|
195
|
-
"--dataset_type",
|
|
196
|
-
dataset_type,
|
|
197
|
-
"--pipeline_job_id",
|
|
198
|
-
dsl.PIPELINE_JOB_ID_PLACEHOLDER,
|
|
199
|
-
"--pipeline_job_resource_name",
|
|
200
|
-
dsl.PIPELINE_JOB_RESOURCE_NAME_PLACEHOLDER,
|
|
201
|
-
"--model_name",
|
|
202
|
-
model.metadata["resourceName"],
|
|
203
|
-
"--gcp_resources",
|
|
204
|
-
gcp_resources,
|
|
205
|
-
"--evaluation_resource_name",
|
|
206
|
-
evaluation_resource_name,
|
|
207
|
-
],
|
|
208
|
-
)
|
|
File without changes
|