Skip to content

Commit ba482f5

Browse files
Merge pull request #214614 from ssalgadodev/nlpremovepreview
Automl | remove NLP Preview
2 parents d3ee8bb + 97a9829 commit ba482f5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

articles/machine-learning/how-to-auto-train-nlp-models.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,13 @@ ms.date: 03/15/2022
1313
#Customer intent: I'm a data scientist with ML knowledge in the natural language processing space, looking to build ML models using language specific data in Azure Machine Learning with full control of the model algorithm, hyperparameters, and training and deployment environments.
1414
---
1515

16-
# Set up AutoML to train a natural language processing model (preview)
16+
# Set up AutoML to train a natural language processing model
1717

1818
[!INCLUDE [dev v2](../../includes/machine-learning-dev-v2.md)]
1919
> [!div class="op_single_selector" title1="Select the version of the developer platform of Azure Machine Learning you are using:"]
2020
> * [v1](./v1/how-to-auto-train-nlp-models-v1.md)
2121
> * [v2 (current version)](how-to-auto-train-nlp-models.md)
2222
23-
[!INCLUDE [preview disclaimer](../../includes/machine-learning-preview-generic-disclaimer.md)]
2423

2524
In this article, you learn how to train natural language processing (NLP) models with [automated ML](concept-automated-ml.md) in Azure Machine Learning. You can create NLP models with automated ML via the Azure Machine Learning Python SDK v2 or the Azure Machine Learning CLI v2.
2625

@@ -195,8 +194,8 @@ For CLI v2 AutoML jobs you configure your experiment in a YAML file like the fol
195194

196195
[!INCLUDE [sdk v2](../../includes/machine-learning-sdk-v2.md)]
197196

198-
For AutoML jobs via the SDK, you configure the job with the specific NLP task function. The following example demonstrates the configuration for `text_classification`.
199197

198+
For AutoML jobs via the SDK, you configure the job with the specific NLP task function. The following example demonstrates the configuration for `text_classification`.
200199
```Python
201200
# general job parameters
202201
compute_name = "gpu-cluster"
@@ -267,6 +266,7 @@ You can also run your NLP experiments with distributed training on an Azure ML c
267266

268267
[!INCLUDE [sdk v2](../../includes/machine-learning-sdk-v2.md)]
269268

269+
270270
This is handled automatically by automated ML when the parameters `max_concurrent_iterations = number_of_vms` and `enable_distributed_dnn_training = True` are provided in your `AutoMLConfig` during experiment setup. Doing so, schedules distributed training of the NLP models and automatically scales to every GPU on your virtual machine or cluster of virtual machines. The max number of virtual machines allowed is 32. The training is scheduled with number of virtual machines that is in powers of two.
271271

272272
```python
@@ -295,6 +295,7 @@ az ml job create --file ./hello-automl-job-basic.yml --workspace-name [YOUR_AZUR
295295

296296
[!INCLUDE [sdk v2](../../includes/machine-learning-sdk-v2.md)]
297297

298+
298299
With the `MLClient` created earlier, you can run this `CommandJob` in the workspace.
299300

300301
```python
@@ -336,6 +337,8 @@ https://github.com/Azure/azureml-examples/blob/v2samplesreorg/sdk/python/jobs/au
336337

337338
## Model sweeping and hyperparameter tuning (preview)
338339

340+
[!INCLUDE [preview disclaimer](../../includes/machine-learning-preview-generic-disclaimer.md)]
341+
339342
AutoML NLP allows you to provide a list of models and combinations of hyperparameters, via the hyperparameter search space in the config. Hyperdrive generates several child runs, each of which is a fine-tuning run for a given NLP model and set of hyperparameter values that were chosen and swept over based on the provided search space.
340343

341344
## Supported model algorithms

0 commit comments

Comments
 (0)