turnmaster commited on
Commit
6021458
·
verified ·
1 Parent(s): 05cac32

Delete TurnMaster_processing/README.md

Browse files
Files changed (1) hide show
  1. TurnMaster_processing/README.md +0 -77
TurnMaster_processing/README.md DELETED
@@ -1,77 +0,0 @@
1
- # Installation
2
-
3
- ```bash
4
- pip install -r requirements.txt
5
- ```
6
-
7
-
8
- # Project structure
9
-
10
- ```text
11
- TurnMaster/
12
- ├── audio/
13
- ├── metadata/
14
- ├── processing/
15
- │ ├── process_dataset.py
16
- │ ├── extract_shards.py
17
- │ ├── utils.py
18
- │ └── requirements.txt
19
- └── README.md
20
- ```
21
-
22
-
23
- # Extract shards
24
-
25
-
26
- ```bash
27
- # Extract to custom directory
28
- python extract_shards.py --sharded-dir ./TurnMaster --output-dir ./my_dataset
29
- ```
30
-
31
-
32
- ```bash
33
- # Extract from cached download
34
- python extract_shards.py --sharded-dir ~/.cache/huggingface/hub/datasets--turnmaster--TurnMaster/snapshots/main --output-dir extracted
35
- ```
36
-
37
- ### OPTIONAL: create a curated version of the dataset. You can also skip this step and reuse the standart curated version of TurnMaster
38
-
39
- ```bash
40
- # Extract from cached download
41
- python extract_shards.py --sharded-dir ~/.cache/huggingface/hub/datasets--turnmaster--TurnMaster/snapshots/main --output-dir extracted
42
- ```
43
-
44
- # Build dataset
45
-
46
- ### Base (no silence)
47
- ```bash
48
- python dataset_creation/augment_taskmaster.py \
49
- --aug-dataset-save-dir YOUR/SAVE/DIR \
50
- --taskmaster-root-dir DIR/TO/EXTRACTED/DATASET \
51
- --silence-max-start 0.0 \
52
- --silence-min-end 0.2 \
53
- --silence-max-end 2.0 \
54
- --normalize-text \
55
- --custom-dollar-normalisation \
56
- --keep-punct \
57
- --lam 0.0 \
58
- ```
59
-
60
- ### Base silence insertion
61
- ```bash
62
- python dataset_creation/augment_taskmaster.py \
63
- --aug-dataset-save-dir YOUR/SAVE/DIR \
64
- --taskmaster-root-dir DIR/TO/EXTRACTED/DATASET \
65
- --silence-max-start 0.0 \
66
- --silence-min-end 0.2 \
67
- --silence-max-end 2.0 \
68
- --normalize-text \
69
- --custom-dollar-normalisation \
70
- --keep-punct \
71
- --silence-insertion \
72
- --lam 0.0 \
73
- --max-initial-silence-duration 1.5 \
74
- --silence-insertion-max-s 2.0 \
75
- --pause-per-second-ratio 1000.0
76
- ```
77
-