-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpreprocess.yaml
More file actions
35 lines (34 loc) · 953 Bytes
/
preprocess.yaml
File metadata and controls
35 lines (34 loc) · 953 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
$schema: http://azureml/sdk-2-0/CommandComponent.json
name: microsoft.com.azureml.samples.textcnn_word_to_id
version: 0.0.8
display_name: TextCNN Word to Id
type: CommandComponent
description: Transform Word to Id
tags:
Data Transformation:
inputs:
input_vocab:
type: AnyDirectory
description: The vocabulary file
optional: false
input_text:
type: AnyDirectory
description: Input text
optional: false
text_column_name:
type: String
description: Select the column that contains the Text
optional: false
outputs:
processed_data:
type: AnyDirectory
description: Processed data
command: >-
python run.py --input-vocab {inputs.input_vocab} --input-data {inputs.input_text}
--text-column {inputs.text_column_name} --output-data {outputs.processed_data}
environment:
conda:
conda_dependencies_file: conda.yaml
os: Linux