Skip to content

Commit 4c43160

Browse files
javed-73Mohd Javed Ansari
andauthored
upgrade nlp multiclass and multilabel components (#4223)
Co-authored-by: Mohd Javed Ansari <moansa@microsoft.com>
1 parent 8d184a7 commit 4c43160

4 files changed

Lines changed: 14 additions & 14 deletions

File tree

assets/training/finetune_acft_hf_nlp/components/pipeline_components/nlp_multiclass/spec.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
$schema: https://azuremlschemas.azureedge.net/latest/pipelineComponent.schema.json
22
name: nlp_textclassification_multiclass
3-
version: 0.0.4
3+
version: 0.0.5
44
type: pipeline
55
display_name: PipelineComponent for AutoML NLP Multiclass TextClassification
66
description: Pipeline component for AutoML NLP Multiclass Text classification
@@ -224,13 +224,13 @@ outputs:
224224
jobs:
225225
model_import:
226226
type: command
227-
component: azureml:text_classification_model_import:0.0.66
227+
component: azureml:text_classification_model_import:0.0.74
228228
compute: ${{parent.inputs.compute_model_import}}
229229
inputs:
230230
huggingface_id: ${{parent.inputs.model_name}}
231231
preprocess:
232232
type: command
233-
component: azureml:nlp_multiclass_datapreprocessing:0.0.3
233+
component: azureml:nlp_multiclass_datapreprocessing:0.0.4
234234
compute: ${{parent.inputs.compute_preprocess}}
235235
inputs:
236236
label_column_name: ${{parent.inputs.label_column_name}}
@@ -240,7 +240,7 @@ jobs:
240240
enable_long_range_text: ${{parent.inputs.enable_long_range_text}}
241241
finetune:
242242
type: command
243-
component: azureml:text_classification_finetune:0.0.66
243+
component: azureml:text_classification_finetune:0.0.74
244244
compute: ${{parent.inputs.compute_finetune}}
245245
distribution:
246246
type: pytorch
@@ -273,7 +273,7 @@ jobs:
273273
pytorch_model_folder: ${{parent.outputs.pytorch_model_folder_finetune}}
274274
text_classification_model_converter:
275275
type: command
276-
component: azureml:ft_nlp_model_converter:0.0.66
276+
component: azureml:ft_nlp_model_converter:0.0.74
277277
compute: ${{parent.inputs.compute_finetune}}
278278
resources:
279279
instance_type: ${{parent.inputs.instance_type_finetune}}

assets/training/finetune_acft_hf_nlp/components/pipeline_components/nlp_multilabel/spec.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
$schema: https://azuremlschemas.azureedge.net/latest/pipelineComponent.schema.json
22
name: nlp_textclassification_multilabel
3-
version: 0.0.4
3+
version: 0.0.5
44
type: pipeline
55
display_name: PipelineComponent for AutoML NLP Multilabel TextClassification
66
description: Pipeline component for AutoML NLP Multilabel Text classification
@@ -224,13 +224,13 @@ outputs:
224224
jobs:
225225
model_import:
226226
type: command
227-
component: azureml:text_classification_model_import:0.0.66
227+
component: azureml:text_classification_model_import:0.0.74
228228
compute: ${{parent.inputs.compute_model_import}}
229229
inputs:
230230
huggingface_id: ${{parent.inputs.model_name}}
231231
preprocess:
232232
type: command
233-
component: azureml:nlp_multilabel_datapreprocessing:0.0.3
233+
component: azureml:nlp_multilabel_datapreprocessing:0.0.4
234234
compute: ${{parent.inputs.compute_preprocess}}
235235
inputs:
236236
label_column_name: ${{parent.inputs.label_column_name}}
@@ -240,7 +240,7 @@ jobs:
240240
enable_long_range_text: ${{parent.inputs.enable_long_range_text}}
241241
finetune:
242242
type: command
243-
component: azureml:text_classification_finetune:0.0.66
243+
component: azureml:text_classification_finetune:0.0.74
244244
compute: ${{parent.inputs.compute_finetune}}
245245
distribution:
246246
type: pytorch
@@ -273,7 +273,7 @@ jobs:
273273
pytorch_model_folder: ${{parent.outputs.pytorch_model_folder_finetune}}
274274
text_classification_model_converter:
275275
type: command
276-
component: azureml:ft_nlp_model_converter:0.0.66
276+
component: azureml:ft_nlp_model_converter:0.0.74
277277
compute: ${{parent.inputs.compute_finetune}}
278278
resources:
279279
instance_type: ${{parent.inputs.instance_type_finetune}}

assets/training/finetune_acft_hf_nlp/components/preprocess/nlp_multiclass/spec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
$schema: https://azuremlschemas.azureedge.net/latest/commandComponent.schema.json
22
name: nlp_multiclass_datapreprocessing
3-
version: 0.0.3
3+
version: 0.0.4
44
type: command
55

66
is_deterministic: True
77

88
display_name: DataPreProcessing for AutoMLNLPMulticlass
99
description: Component to preprocess data for automl nlp multiclass classification task
1010

11-
environment: azureml://registries/azureml/environments/acft-hf-nlp-gpu/labels/latest
11+
environment: azureml://registries/azureml/environments/acft-hf-nlp-gpu/versions/95
1212

1313
code: ../../../src/preprocess
1414

assets/training/finetune_acft_hf_nlp/components/preprocess/nlp_multilabel/spec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
$schema: https://azuremlschemas.azureedge.net/latest/commandComponent.schema.json
22
name: nlp_multilabel_datapreprocessing
3-
version: 0.0.3
3+
version: 0.0.4
44
type: command
55

66
is_deterministic: True
77

88
display_name: DataPreProcessing for AutoMLNLPMultilabel
99
description: Component to preprocess data for automl nlp multilabel classification task
1010

11-
environment: azureml://registries/azureml/environments/acft-hf-nlp-gpu/labels/latest
11+
environment: azureml://registries/azureml/environments/acft-hf-nlp-gpu/versions/95
1212

1313
code: ../../../src/preprocess
1414

0 commit comments

Comments
 (0)