RoxasYTB commited on
Commit
0ea2560
·
verified ·
1 Parent(s): a4103fe

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +39 -1
README.md CHANGED
@@ -15,5 +15,43 @@ license: cc-by-4.0
15
  # GLaDOS (Portal 2) — English (en)
16
 
17
  LJSpeech dataset of GLaDOS (Portal 2) (en).
18
- - **331** pairs
19
  - 16kHz mono 16-bit PCM WAV
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
  # GLaDOS (Portal 2) — English (en)
16
 
17
  LJSpeech dataset of GLaDOS (Portal 2) (en).
18
+ - **982** pairs
19
  - 16kHz mono 16-bit PCM WAV
20
+
21
+ ## Piper TTS Training (High Quality on T4 GPU)
22
+
23
+ This dataset is ready for Piper TTS training. Recommended parameters:
24
+
25
+ ### Preprocessing
26
+ ```sh
27
+ python3 -m piper_train.preprocess \
28
+ --language en-us \
29
+ --input-dir ./glados_p2_en \
30
+ --output-dir ./train_glados_p2_en \
31
+ --dataset-format ljspeech \
32
+ --single-speaker \
33
+ --sample-rate 22050
34
+ ```
35
+
36
+ ### Training (Kaggle T4 16GB)
37
+ ```sh
38
+ python3 -m piper_train \
39
+ --dataset-dir ./train_glados_p2_en \
40
+ --accelerator 'gpu' \
41
+ --devices 1 \
42
+ --quality high \
43
+ --batch-size 16 \
44
+ --validation-split 0.0 \
45
+ --num-test-examples 0 \
46
+ --max_epochs 10000 \
47
+ --resume_from_checkpoint /path/to/checkpoint.ckpt \
48
+ --checkpoint-epochs 1 \
49
+ --precision 32 \
50
+ --max-phoneme-ids 400
51
+ ```
52
+
53
+ - **Quality**: `high` (22,050 Hz, larger voice model, better quality)
54
+ - **Batch size**: 16 fits T4 16GB VRAM at high quality
55
+ - **Precision**: 32 (full precision, T4 backward pass is slow with 16-mixed for VITS)
56
+ - **Fine-tune**: from an existing Piper checkpoint (same quality/rate)
57
+ - **Max phoneme ids**: 400 filters very long sentences to fit VRAM