### Install Dependencies Source: https://github.com/amanecertrio/lasrca/blob/main/README.md Navigate to the code directory and install project dependencies using pip. ```bash cd ./code pip install -r requirements.txt ``` -------------------------------- ### Fine-tuning and Semi-supervised Learning Source: https://github.com/amanecertrio/lasrca/blob/main/README.md Scripts for fine-tuning and semi-supervised learning. Requires pretraining to be completed first. Specific lines in Python files need to be uncommented/commented before running. ```python python ./tasks/fine_tuning_fault_type_classification.py (for Fine-tuning) ``` ```python python ./tasks/base_fault_type_classification.py (for Semi-supervised Learning) ``` -------------------------------- ### Run Reproducibility Script Source: https://github.com/amanecertrio/lasrca/blob/main/README.md Navigate to the code directory and execute the reproducibility script to check results. ```bash cd ./code bash reproduce.sh ``` -------------------------------- ### Preprocess Raw Data Scripts Source: https://github.com/amanecertrio/lasrca/blob/main/README.md Execute a series of Python scripts to preprocess raw data. Ensure raw data is placed in the specified path before running. ```python cd ./code python ./data_filter/CCF_AIOps_challenge_2022/dao/ground_truth_dao.py ``` ```python python ./data_filter/CCF_AIOps_challenge_2022/dao/topology_dao.py ``` ```python python ./data_filter/CCF_AIOps_challenge_2022/dao/metric_dao.py ``` ```python python ./data_filter/CCF_AIOps_challenge_2022/dao/log_dao.py ``` ```python python ./data_filter/CCF_AIOps_challenge_2022/dao/trace_dao.py ``` ```python python ./data_filter/CCF_AIOps_challenge_2022/service/time_interval_label_generator.py ``` ```python python ./data_filter/CCF_AIOps_challenge_2022/service/ent_edge_index_generator.py ``` ```python python ./data_filter/CCF_AIOps_challenge_2022/service/metric_generator.py ``` ```python python ./data_filter/CCF_AIOps_challenge_2022/service/log_generator.py ``` ```python python ./data_filter/CCF_AIOps_challenge_2022/service/trace_generator.py ``` ```python python ./data_filter/CCF_AIOps_challenge_2022/service/dataset_generator.py ``` -------------------------------- ### LLM Fault Labeling Scripts Source: https://github.com/amanecertrio/lasrca/blob/main/README.md Execute a series of scripts for LLM fault labeling. Ensure 'k' and 'api_key' are correctly configured in 'code/llm/common.py'. ```python python ./llm/first_stage.py ``` ```python python ./llm/second_stage.py ``` ```python python ./llm/third_stage.py ``` ```python python ./llm/summarization_stage.py ``` ```python python ./llm/update_dataset.py ``` -------------------------------- ### Pretrain TS2Vec Model Source: https://github.com/amanecertrio/lasrca/blob/main/README.md Run the pretraining script for TS2Vec embeddings. This is a prerequisite for fine-tuning and semi-supervised learning experiments. ```bash cd ./code bash pretrain.sh ``` -------------------------------- ### One-Shot Small Classifier Training Source: https://github.com/amanecertrio/lasrca/blob/main/README.md Configure and run the script for one-shot small classifier training. Involves modifying specific lines in 'las_rca.py' and setting seed values. ```python python ./tasks/las_rca.py ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.