diff --git a/dev_scripts/README.md b/dev_scripts/README.md index f2e8278..bef4e15 100644 --- a/dev_scripts/README.md +++ b/dev_scripts/README.md @@ -24,7 +24,7 @@ dataset The names of the inner directories and files do not matter. Then create the dataset: ``` -python prepare_dataset.py +uv run prepare_dataset.py ``` ## Segmentation model @@ -32,7 +32,7 @@ python prepare_dataset.py Create a segmentation model JSON file based off the sample (`sample_jsons/py36-sample-segmentation.json`). Then train the model: ``` -python train_models.py --segmentation +uv run train_models.py --segmentation ``` ## Statement model @@ -40,7 +40,7 @@ python train_models.py --segmentation Create a statement model JSON file based off the sample (`sample_jsons/py36-sample-statement.json`). Then train the model: ``` -python train_models.py --statement +uv run train_models.py --statement ``` Once models are trained, update `../pylingual/decompiler_config.yaml` or create a separate config file by replacing the old models with the newly trained ones.