@@ -301,7 +301,7 @@ class GenericModel(MetadataMixin, Introspectable, EvaluatorMixin):
301301 update_summary_status(...)
302302 Update the status in the summary table.
303303 update_summary_action(...)
304- Update the actions needed in the summary table.
304+ Update the actions needed from the user in the summary table.
305305
306306
307307 Examples
@@ -366,7 +366,7 @@ def __init__(
366366 properties: (ModelProperties, optional). Defaults to None.
367367 ModelProperties object required to save and deploy model.
368368 auth :(Dict, optional). Defaults to None.
369- The default authentication is set using `ads.set_auth` API. If you need to override the
369+ The default authetication is set using `ads.set_auth` API. If you need to override the
370370 default, use the `ads.common.auth.api_keys` or `ads.common.auth.resource_principal` to create appropriate
371371 authentication signer and kwargs required to instantiate IdentityClient object.
372372 serialize: (bool, optional). Defaults to True.
@@ -619,7 +619,7 @@ def set_model_save_serializer(self, model_save_serializer: Union[str, SERDE]):
619619 >>> # Register serializer by passing the name of it.
620620 >>> generic_model.set_model_save_serializer("cloudpickle")
621621
622- >>> # Example of creating customized model save serializer and registering it.
622+ >>> # Example of creating customized model save serializer and registing it.
623623 >>> from ads.model import SERDE
624624 >>> from ads.model.generic_model import GenericModel
625625
@@ -869,7 +869,7 @@ def prepare(
869869 initial_types: (list[Tuple], optional).
870870 Defaults to None. Only used for SklearnModel, LightGBMModel and XGBoostModel.
871871 Each element is a tuple of a variable name and a type.
872- Check this link https ://onnx.ai/sklearn-onnx/api_summary.html#id2 for
872+ Check this link http ://onnx.ai/sklearn-onnx/api_summary.html#id2 for
873873 more explanation and examples for `initial_types`.
874874 force_overwrite: (bool, optional). Defaults to False.
875875 Whether to overwrite existing files.
@@ -897,7 +897,7 @@ def prepare(
897897 Parameter to ignore error when collecting conda information.
898898 score_py_uri: (str, optional). Defaults to None.
899899 The uri of the customized score.py, which can be local path or OCI object storage URI.
900- When provide with this attribute , the `score.py` will not be auto generated, and the
900+ When provide with this attibute , the `score.py` will not be auto generated, and the
901901 provided `score.py` will be added into artifact_dir.
902902 kwargs:
903903 impute_values: (dict, optional).
@@ -1306,12 +1306,12 @@ def verify(
13061306 return prediction
13071307
13081308 def introspect (self ) -> pd .DataFrame :
1309- """Conducts introspection .
1309+ """Conducts instrospection .
13101310
13111311 Returns
13121312 -------
13131313 pandas.DataFrame
1314- A pandas DataFrame which contains the introspection results.
1314+ A pandas DataFrame which contains the instrospection results.
13151315 """
13161316 df = self ._introspect ()
13171317 return df
@@ -1334,7 +1334,7 @@ def from_model_artifact(
13341334 ----------
13351335 uri: str
13361336 The folder path, ZIP file path, or TAR file path. It could contain a
1337- serialized model(required) as well as any files needed for deployment including:
1337+ seriliazed model(required) as well as any files needed for deployment including:
13381338 serialized model, runtime.yaml, score.py and etc. The content of the folder will be
13391339 copied to the `artifact_dir` folder.
13401340 model_file_name: (str, optional). Defaults to `None`.
@@ -1344,7 +1344,7 @@ def from_model_artifact(
13441344 The artifact directory to store the files needed for deployment.
13451345 Will be created if not exists.
13461346 auth: (Dict, optional). Defaults to None.
1347- The default authentication is set using `ads.set_auth` API. If you need to override the
1347+ The default authetication is set using `ads.set_auth` API. If you need to override the
13481348 default, use the `ads.common.auth.api_keys` or `ads.common.auth.resource_principal` to create appropriate
13491349 authentication signer and kwargs required to instantiate IdentityClient object.
13501350 force_overwrite: (bool, optional). Defaults to False.
@@ -1567,7 +1567,7 @@ def from_model_catalog(
15671567 The artifact directory to store the files needed for deployment.
15681568 Will be created if not exists.
15691569 auth: (Dict, optional). Defaults to None.
1570- The default authentication is set using `ads.set_auth` API. If you need to override the
1570+ The default authetication is set using `ads.set_auth` API. If you need to override the
15711571 default, use the `ads.common.auth.api_keys` or `ads.common.auth.resource_principal` to create appropriate
15721572 authentication signer and kwargs required to instantiate IdentityClient object.
15731573 force_overwrite: (bool, optional). Defaults to False.
@@ -1579,7 +1579,7 @@ def from_model_catalog(
15791579 The `bucket_uri` is only necessary for downloading large artifacts with
15801580 size is greater than 2GB. Example: `oci://<bucket_name>@<namespace>/prefix/`.
15811581 remove_existing_artifact: (bool, optional). Defaults to `True`.
1582- Whether artifacts uploaded to object storage bucket need to be removed or not.
1582+ Wether artifacts uploaded to object storage bucket need to be removed or not.
15831583 ignore_conda_error: (bool, optional). Defaults to False.
15841584 Parameter to ignore error when collecting conda information.
15851585 download_artifact: (bool, optional). Defaults to True.
@@ -1739,7 +1739,7 @@ def from_model_deployment(
17391739 The artifact directory to store the files needed for deployment.
17401740 Will be created if not exists.
17411741 auth: (Dict, optional). Defaults to None.
1742- The default authentication is set using `ads.set_auth` API. If you need to override the
1742+ The default authetication is set using `ads.set_auth` API. If you need to override the
17431743 default, use the `ads.common.auth.api_keys` or `ads.common.auth.resource_principal` to create appropriate
17441744 authentication signer and kwargs required to instantiate IdentityClient object.
17451745 force_overwrite: (bool, optional). Defaults to False.
@@ -1751,7 +1751,7 @@ def from_model_deployment(
17511751 The `bucket_uri` is only necessary for downloading large artifacts with
17521752 size is greater than 2GB. Example: `oci://<bucket_name>@<namespace>/prefix/`.
17531753 remove_existing_artifact: (bool, optional). Defaults to `True`.
1754- Whether artifacts uploaded to object storage bucket need to be removed or not.
1754+ Wether artifacts uploaded to object storage bucket need to be removed or not.
17551755 ignore_conda_error: (bool, optional). Defaults to False.
17561756 Parameter to ignore error when collecting conda information.
17571757 download_artifact: (bool, optional). Defaults to True.
@@ -1860,7 +1860,7 @@ def update_deployment(
18601860 Poll interval in seconds (Defaults to 10).
18611861 kwargs:
18621862 auth: (Dict, optional). Defaults to `None`.
1863- The default authentication is set using `ads.set_auth` API.
1863+ The default authetication is set using `ads.set_auth` API.
18641864 If you need to override the default, use the `ads.common.auth.api_keys` or
18651865 `ads.common.auth.resource_principal` to create appropriate authentication signer
18661866 and kwargs required to instantiate IdentityClient object.
@@ -1937,7 +1937,7 @@ def from_id(
19371937 The artifact directory to store the files needed for deployment.
19381938 Will be created if not exists.
19391939 auth: (Dict, optional). Defaults to None.
1940- The default authentication is set using `ads.set_auth` API. If you need to override the
1940+ The default authetication is set using `ads.set_auth` API. If you need to override the
19411941 default, use the `ads.common.auth.api_keys` or `ads.common.auth.resource_principal` to create appropriate
19421942 authentication signer and kwargs required to instantiate IdentityClient object.
19431943 force_overwrite: (bool, optional). Defaults to False.
@@ -1949,7 +1949,7 @@ def from_id(
19491949 The `bucket_uri` is only necessary for downloading large artifacts with
19501950 size is greater than 2GB. Example: `oci://<bucket_name>@<namespace>/prefix/`.
19511951 remove_existing_artifact: (bool, optional). Defaults to `True`.
1952- Whether artifacts uploaded to object storage bucket need to be removed or not.
1952+ Wether artifacts uploaded to object storage bucket need to be removed or not.
19531953 ignore_conda_error: (bool, optional). Defaults to False.
19541954 Parameter to ignore error when collecting conda information.
19551955 download_artifact: (bool, optional). Defaults to True.
@@ -2645,7 +2645,7 @@ def prepare_save_deploy(
26452645 initial_types: (list[Tuple], optional).
26462646 Defaults to None. Only used for SklearnModel, LightGBMModel and XGBoostModel.
26472647 Each element is a tuple of a variable name and a type.
2648- Check this link https ://onnx.ai/sklearn-onnx/api_summary.html#id2 for
2648+ Check this link http ://onnx.ai/sklearn-onnx/api_summary.html#id2 for
26492649 more explanation and examples for `initial_types`.
26502650 force_overwrite: (bool, optional). Defaults to False.
26512651 Whether to overwrite existing files.
@@ -2719,7 +2719,7 @@ def prepare_save_deploy(
27192719 overwrite_existing_artifact: (bool, optional). Defaults to `True`.
27202720 Overwrite target bucket artifact if exists.
27212721 remove_existing_artifact: (bool, optional). Defaults to `True`.
2722- Whether artifacts uploaded to object storage bucket need to be removed or not.
2722+ Wether artifacts uploaded to object storage bucket need to be removed or not.
27232723 model_version_set: (Union[str, ModelVersionSet], optional). Defaults to None.
27242724 The Model version set OCID, or name, or `ModelVersionSet` instance.
27252725 version_label: (str, optional). Defaults to None.
@@ -3008,12 +3008,15 @@ def summary_status(self) -> pd.DataFrame:
30083008 return self ._summary_status .df .set_index (["Step" , "Status" , "Details" ])
30093009
30103010 def update_summary_status (self , detail : str , status : str ):
3011- """
3011+ """Update the status in the summary table.
30123012
30133013 Parameters
30143014 ----------
3015- detail
3016- status
3015+ detail: (str)
3016+ value of the detail in the details column of the summary status table. Used to locate which row to update.
3017+ status: (str)
3018+ new status to be updated for the row specified by detail.
3019+
30173020
30183021 Returns
30193022 -------
@@ -3022,12 +3025,14 @@ def update_summary_status(self, detail: str, status: str):
30223025 self ._summary_status .update_status (detail = detail , status = status )
30233026
30243027 def update_summary_action (self , detail : str , action : str ):
3025- """
3028+ """Update the actions needed from the user in the summary table.
30263029
30273030 Parameters
30283031 ----------
3029- detail
3030- action
3032+ detail: (str)
3033+ value of the detail in the details column of the summary status table. Used to locate which row to update.
3034+ action: (str)
3035+ new action to be updated for the row specified by detail.
30313036
30323037 Returns
30333038 -------
@@ -3169,7 +3174,7 @@ def upload_artifact(
31693174 >>> upload_artifact(uri="oci://bucket@namespace/prefix/")
31703175
31713176 auth: (Dict, optional). Defaults to `None`.
3172- The default authentication is set using `ads.set_auth` API. If you need to override the
3177+ The default authetication is set using `ads.set_auth` API. If you need to override the
31733178 default, use the `ads.common.auth.api_keys` or `ads.common.auth.resource_principal` to create appropriate
31743179 authentication signer and kwargs required to instantiate IdentityClient object.
31753180 force_overwrite: bool
@@ -3378,8 +3383,8 @@ def update_action(self, detail: str, action: str) -> None:
33783383 ----------
33793384 detail: (str)
33803385 Value of the detail in the Details column. Used to locate which row to update.
3381- status : (str)
3382- New status to be updated for the row specified by detail.
3386+ action : (str)
3387+ new action to be updated for the row specified by detail.
33833388
33843389 Returns
33853390 -------
0 commit comments