Browse Source

[DOCS] Minor edits to trained model APIs (#81549)

Lisa Cawley 3 years ago
parent
commit
104efd4343

+ 1 - 2
docs/reference/ml/trained-models/apis/put-trained-models.asciidoc

@@ -33,7 +33,6 @@ Requires the `manage_ml` cluster privilege. This privilege is included in the
 The create trained model API enables you to supply a trained model that is not
 created by {dfanalytics}.
 
-
 [[ml-put-trained-models-path-params]]
 == {api-path-parms-title}
 
@@ -893,7 +892,7 @@ Appropriate types are:
 * `tree_ensemble`: The model definition is an ensemble model of decision trees.
 * `lang_ident`: A special type reserved for language identification models.
 * `pytorch`: The stored definition is a PyTorch (specifically a TorchScript) model. Currently only
-NLP models are supported.
+NLP models are supported. For more information, refer to {ml-docs}/ml-nlp.html[{nlp-cap}].
 --
 
 `tags`::

+ 2 - 2
docs/reference/ml/trained-models/apis/stop-trained-model-deployment.asciidoc

@@ -21,10 +21,10 @@ Stops a trained model deployment.
 Requires the `manage_ml` cluster privilege. This privilege is included in the 
 `machine_learning_admin` built-in role.
 
-////
 [[stop-trained-model-deployment-desc]]
 == {api-description-title}
-////
+
+Deployment is required only for trained models that have a PyTorch `model_type`.
 
 [[stop-trained-model-deployment-path-params]]
 == {api-path-parms-title}