Repository for the paper: Log Parsing with Prompt-based Few-shot Learning
Thanks for their contribution.
- Python 3.8
- torch
- transformers
- ...
To install all library:
pip install -r requirements.txt
We recommend to use conda environment.
conda create --name LogPPT python=3.8
conda activate LogPPT
pip install -r requirements.txt
To download the pre-trained language model:
$ cd pretrained_models/roberta-base
$ bash download.sh
conda activate LogPPT
./run_2k.sh
Please notice you need to download the full_dataset
of Loghub-2.0 first.
conda activate LogPPT
./run_full.sh