To use the Python parser for MuRET-format datasets, follow these steps:
- Install the required packages:
pip install -r requirements- Run the parser script:
python main.py --muret_json_folder_path <path_to_muret_json> --output_folder_path <output_path> [--k <num_folds>]- Replace
<path_to_muret_json>with the actual path to the folder containing your MuRET-format dataset JSON files. - Replace
<output_path>with the desired path for the output folder where the script will generate the processed data. - The
--k <num_folds>argument is optional. Use it to specify the number of folds for k-fold cross-validation (default is 5 folds).
