From 5970a0d68d488da7a089d3ace1ff367f81fa4dc2 Mon Sep 17 00:00:00 2001 From: Joel-Flores123 <73033180+Joel-Flores123@users.noreply.github.com> Date: Tue, 16 Sep 2025 14:48:40 -0500 Subject: [PATCH] Update README.md --- dev_scripts/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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.