I am just facing an issue in Ml skill deployment.. Can someone help me on this?

i am just facing an issue in Ml skill deployment

@Jeremy_Tederry Can you please help me on this

Any message below this?

Failed to create deployment MlSkillForclassification … This is the one below message

Hum I see that you are trying to deploy Enlish text classification version 1. I assume this is the OOB model. It needs to be retrained before you can deploy it, once retrained you should deploy new version e.g: 1.1+.

1 Like

i just created train pipeline and evolution pipeline…But i am getting this warn failed to do train and evolution File “/microservice/main.py”, line 9, in init
raise UiPathUsageException(_UNTRAINED_HELP)
aiflib.logger.UiPathUsageException:
This generic Text Classification AutoML model has not
been trained. Use AI Fabric to train this model on your own data. The model
will read all csv files in the directory recursively. Each file simpy must
have a header (the first line of the csv file) “input,target” and the
subsequent lines are: , pairs.

For example, you may have a file that looks like this:

input,target
I hated that movie,negative
I loved that movie. The acting was great,positive
I thought the special effects were really bad,negative

Place such files, in a dataset. You can then use this file in a Training
or Full Pipeline.

In addition, this model will read all json files in the directory recursively.
Each file must have one of two possible formats:

  1. {“input”: , “target”: }
  2. [{“input”: , “target”: <tareget text}, …
    {“input”: , “target”: <tareget text}]

As with csv files, you can override the default column names with the parameters
input_column and target_column.

Additionally, if you want to read a single csv file, you can pass the parameter
csv_name=<your_file_name>.

See AI Fabric Documentation for a detailed explanation and other configuration
parameters.

[2020-08-26 06:27:09 +0000] [25] [ERROR] Exception in worker process
File “/microservice/main.py”, line 9, in init
raise UiPathUsageException(_UNTRAINED_HELP)
aiflib.logger.UiPathUsageException:
This generic Text Classification AutoML model has not
been trained. Use AI Fabric to train this model on your own data. The model
will read all csv files in the directory recursively. Each file simpy must
have a header (the first line of the csv file) “input,target” and the
subsequent lines are: , pairs.

For example, you may have a file that looks like this:

input,target
I hated that movie,negative
I loved that movie. The acting was great,positive
I thought the special effects were really bad,negative

Place such files, in a dataset. You can then use this file in a Training
or Full Pipeline.

In addition, this model will read all json files in the directory recursively.
Each file must have one of two possible formats:

  1. {“input”: , “target”: }
  2. [{“input”: , “target”: <tareget text}, …
    {“input”: , “target”: <tareget text}]

As with csv files, you can override the default column names with the parameters
input_column and target_column.

Additionally, if you want to read a single csv file, you can pass the parameter
csv_name=<your_file_name>.

See AI Fabric Documentation for a detailed explanation and other configuration
parameters.
[2020-08-26 06:27:09 +0000] [25] [INFO] Worker exiting (pid: 25)

File “/microservice/main.py”, line 9, in init
raise UiPathUsageException(_UNTRAINED_HELP)
aiflib.logger.UiPathUsageException:
This generic Text Classification AutoML model has not
been trained. Use AI Fabric to train this model on your own data. The model
will read all csv files in the directory recursively. Each file simpy must
have a header (the first line of the csv file) “input,target” and the
subsequent lines are: , pairs.

For example, you may have a file that looks like this:

As i am doing the workflow mentioned in AI fabric course

Hi

Did you find any solution for this issue?