Skip to content

Commit 93b30ad

Browse files
committed
refactor: fix changes after changing the folder name in the app (after merging FT feature -> main)
1 parent 19ca902 commit 93b30ad

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

apps/speech_to_text/src/core/data_prep/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,25 +53,25 @@ Run the data preparation pipeline from the project root to create domain-specifi
5353

5454
**Training Data:**
5555
```bash
56-
python apps/whisper_fine_tuning/src/core/data_prep/main_data_prep.py \
57-
--source_data_dir apps/whisper_fine_tuning/data/raw/audios/matis \
58-
--output_data_dir apps/whisper_fine_tuning/data/raw/samples/training \
56+
python apps/speech_to_text/src/core/data_prep/main_data_prep.py \
57+
--source_data_dir apps/speech_to_text/data/raw/audios/matis \
58+
--output_data_dir apps/speech_to_text/data/raw/samples/training \
5959
--domain train
6060
```
6161

6262
**Testing Data:**
6363
```bash
64-
python apps/whisper_fine_tuning/src/core/data_prep/main_data_prep.py \
65-
--source_data_dir apps/whisper_fine_tuning/data/raw/audios/matis \
66-
--output_data_dir apps/whisper_fine_tuning/data/raw/samples/testing \
64+
python apps/speech_to_text/src/core/data_prep/main_data_prep.py \
65+
--source_data_dir apps/speech_to_text/data/raw/audios/matis \
66+
--output_data_dir apps/speech_to_text/data/raw/samples/testing \
6767
--domain test
6868
```
6969

7070
**Evaluation Data:**
7171
```bash
72-
python apps/whisper_fine_tuning/src/core/data_prep/main_data_prep.py \
73-
--source_data_dir apps/whisper_fine_tuning/data/raw/audios/matis \
74-
--output_data_dir apps/whisper_fine_tuning/data/raw/samples/evaluation \
72+
python apps/speech_to_text/src/core/data_prep/main_data_prep.py \
73+
--source_data_dir apps/speech_to_text/data/raw/audios/matis \
74+
--output_data_dir apps/speech_to_text/data/raw/samples/evaluation \
7575
--domain evaluation
7676
```
7777

@@ -81,7 +81,7 @@ python apps/whisper_fine_tuning/src/core/data_prep/main_data_prep.py \
8181
After preparing your datasets, run the complete pipeline locally:
8282

8383
```bash
84-
python apps/whisper_fine_tuning/src/core/data_prep/main_silver_data_prep.py --train_datasets apps/whisper_fine_tuning/data/raw/samples/training --eval_datasets apps/whisper_fine_tuning/data/raw/samples/evaluation --test_datasets apps/whisper_fine_tuning/data/raw/samples/testing
84+
python apps/speech_to_text/src/core/data_prep/main_silver_data_prep.py --train_datasets apps/speech_to_text/data/raw/samples/training --eval_datasets apps/speech_to_text/data/raw/samples/evaluation --test_datasets apps/speech_to_text/data/raw/samples/testing
8585
```
8686

8787
This command will use the prepared datasets for the complete Whisper fine-tuning workflow.

apps/speech_to_text/src/core/data_prep/main_silver_data_prep.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def main():
157157
logger.info("DATASET PREPARATION IN PROGRESS...")
158158
raw_dataset = data_prep.prepare()
159159

160-
save_path = "apps/whisper_fine_tuning/data/silver/dataset"
160+
save_path = "apps/speech_to_text/data/silver/dataset"
161161
raw_dataset.save_to_disk(save_path)
162162
logger.info(f"Dataset saved locally at {save_path}.")
163163

apps/speech_to_text/src/core/train/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ core/train/
3030
```
3131
2. Launch training with the primary CLI:
3232
```bash
33-
python apps/whisper_fine_tuning/src/core/train/main_train.py \
33+
python apps/speech_to_text/src/core/train/main_train.py \
3434
--model_name openai/whisper-large-v2 \
35-
--dataset apps/whisper_fine_tuning/data/silver/dataset \
35+
--dataset apps/speech_to_text/data/silver/dataset \
3636
--output_dir output_model_dir \
3737
--apply_lora True
3838
```

0 commit comments

Comments
 (0)