This was the result of a full pipeline run, where I used two spreadsheets to feed in Training and Evaluation datasets. I am trying to train the MultiLingualTextClassification Model. Logs can be seen below:
2023-08-03 14:15:19,918 - UiPath_core.trainer_run:main:74 - INFO: Starting training job…
2023-08-03 14:15:20,069 - matplotlib:_get_config_or_cache_dir:484 - WARNING: Matplotlib created a temporary config/cache directory at /tmp/matplotlib-tty1em4y because the default path (/home/aicenter/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
2023-08-03 14:15:20,451 - matplotlib.font_manager:_load_fontmanager:1443 - INFO: generated new fontManager
2023-08-03 14:15:23,421 - UiPath_core.storage.azure_storage_client:download:118 - INFO: Dataset from bucket folder training-a0394d57-9d8b-4ee7-9b15-97c89266114e/cdd1a17c-7e4d-46ef-ad79-4c48ab6eac9e/94a4d594-4772-4c95-80ae-7a47186275bb with size 1 downloaded successfully
2023-08-03 14:15:23,421 - UiPath_core.training_plugin:download_dataset:513 - WARNING: Deleting already existing folder name: /data/dataset/test
2023-08-03 14:15:23,438 - UiPath_core.storage.azure_storage_client:download:118 - INFO: Dataset from bucket folder training-a0394d57-9d8b-4ee7-9b15-97c89266114e/cdd1a17c-7e4d-46ef-ad79-4c48ab6eac9e/6bff1d99-16e4-40e3-a719-ae8722ff3960 with size 1 downloaded successfully
2023-08-03 14:15:23,439 - UiPath_core.training_plugin:process_data_model:151 - INFO: Start process model data…
2023-08-03 14:15:23,439 - UiPath_core.training_plugin:initialize_model:124 - INFO: Start model initialization…
2023-08-03 14:15:23,441 - UiPath_core.training_plugin:initialize_model:127 - INFO: Model initialized successfully
2023-08-03 14:15:23,441 - root:init:70 - INFO: Loading data from /microservice/dataset
2023-08-03 14:15:23,442 - root:read_all_directories:269 - INFO: Reading from directory stucture [/microservice/dataset]
2023-08-03 14:15:23,443 - root:read_all_data:123 - INFO: Unable to read any valid data from *.csv files in [/microservice/dataset]
2023-08-03 14:15:23,443 - root:read_all_data:128 - INFO: Unable to read any valid data from *.json files in [/microservice/dataset]
2023-08-03 14:15:23,443 - root:read_all_data:133 - INFO: Unable to read any valid data from directory structure [/microservice/dataset]
2023-08-03 14:15:23,443 - root:init:84 - INFO: Done read [0] points with [0] classes
2023-08-03 14:15:23,444 - root:validate:300 - INFO: Series(, Name: Subcategory, dtype: int64)
2023-08-03 14:15:23,445 - root:init:93 - INFO: Loading test data from /microservice/dataset/test
2023-08-03 14:15:23,445 - root:read_all_directories:269 - INFO: Reading from directory stucture [/microservice/dataset/test]
2023-08-03 14:15:23,446 - root:read_all_data:123 - INFO: Unable to read any valid data from *.csv files in [/microservice/dataset/test]
2023-08-03 14:15:23,446 - root:read_all_data:128 - INFO: Unable to read any valid data from *.json files in [/microservice/dataset/test]
2023-08-03 14:15:23,446 - root:read_all_data:133 - INFO: Unable to read any valid data from directory structure [/microservice/dataset/test]
2023-08-03 14:15:23,447 - root:init:104 - INFO: Train: 0, Test: 0
2023-08-03 14:15:23,447 - UiPath_core.training_plugin:process_data_model:154 - INFO: Model process data successfully with response None
2023-08-03 14:15:23,447 - UiPath_core.training_plugin:evaluate_model:140 - INFO: Start model evaluation…
2023-08-03 14:15:23,447 - root:eval_BERT:67 - INFO: Evaluating using trained BERT model
2023-08-03 14:15:23,447 - root:eval_BERT:68 - INFO: Evaluation dataset size 0
2023-08-03 14:15:23,447 - root:load:212 - INFO: Loading model…
2023-08-03 14:15:23,447 - UiPath_core.training_plugin:trigger_full_training_and_publish_model:543 - ERROR: Failed to evaluate untrained model with error: [Errno 2] No such file or directory: ‘/microservice/models/test/model.p’
2023-08-03 14:15:23,447 - UiPath_core.training_plugin:train_model:130 - INFO: Start model training…
2023-08-03 14:15:23,448 - UiPath_core.training_plugin:trigger_full_training_and_publish_model:580 - ERROR: Failed to trigger full training and publish data, error: single positional indexer is out-of-bounds
2023-08-03 14:15:23,449 - UiPath_core.training_plugin:model_run:179 - ERROR: Training failed for pipeline type: FULL_TRAINING, error: single positional indexer is out-of-bounds
2023-08-03 14:15:23,450 - UiPath_core.trainer_run:main:91 - ERROR: Training Job failed, error: single positional indexer is out-of-bounds
Traceback (most recent call last):
File “/home/aicenter/.local/lib/python3.8/site-packages/UiPath_core/trainer_run.py”, line 86, in main
wrapper.run()
File “/microservice/training_wrapper.py”, line 58, in run
return self.training_plugin.model_run()
File “/home/aicenter/.local/lib/python3.8/site-packages/UiPath_core/training_plugin.py”, line 195, in model_run
raise ex
File “/home/aicenter/.local/lib/python3.8/site-packages/UiPath_core/training_plugin.py”, line 167, in model_run
self.run_full_training()
File “/home/aicenter/.local/lib/python3.8/site-packages/UiPath_core/training_plugin.py”, line 215, in run_full_training
self.trigger_full_training_and_publish_model()
File “/home/aicenter/.local/lib/python3.8/site-packages/UiPath_core/training_plugin.py”, line 581, in trigger_full_training_and_publish_model
raise e
File “/home/aicenter/.local/lib/python3.8/site-packages/UiPath_core/training_plugin.py”, line 554, in trigger_full_training_and_publish_model
self.train_model(self.training_data_directory)
File “/home/aicenter/.local/lib/python3.8/site-packages/UiPath_core/training_plugin.py”, line 132, in train_model
response = self.model.train(directory)
File “/microservice/train.py”, line 53, in train
train.train(self.opt, self.df_train, self.df_test)
File “”, line 66, in train
File “”, line 24, in train_bert
File “”, line 93, in create_from_dataframes
File “”, line 28, in init
File “/home/aicenter/.local/lib/python3.8/site-packages/pandas/core/indexing.py”, line 967, in getitem
return self._getitem_axis(maybe_callable, axis=axis)
File “/home/aicenter/.local/lib/python3.8/site-packages/pandas/core/indexing.py”, line 1520, in _getitem_axis
self._validate_integer(key, axis)
File “/home/aicenter/.local/lib/python3.8/site-packages/pandas/core/indexing.py”, line 1452, in _validate_integer
raise IndexError(“single positional indexer is out-of-bounds”)
IndexError: single positional indexer is out-of-bounds
2023-08-03 14:15:23,450 - UiPath_core.trainer_run:main:98 - INFO: Job run stopped.