SpireLab PranavdbhatArtpark commited on
Commit
0beaee0
·
1 Parent(s): b9102cf

Set speaking speed (length_scale): male 1.43, female 1.11 (#2)

Browse files

- Set speaking speed (length_scale): male 1.43, female 1.11 (9b48190230d808d9028eb8afa84f25db0b7ab020)


Co-authored-by: Pranav D Bhat <PranavdbhatArtpark@users.noreply.huggingface.co>

README.md CHANGED
@@ -78,6 +78,19 @@ The Tamil-script and Sourashtra-script models produce speech from the same speak
78
 
79
  ---
80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  ## Training
82
 
83
  | Parameter | Value |
 
78
 
79
  ---
80
 
81
+ ## Speaking Speed
82
+
83
+ Each `config.json` sets `model_args.length_scale`, which controls speaking speed (higher = slower):
84
+
85
+ | Speaker | `length_scale` |
86
+ |---------|----------------|
87
+ | Male | 1.43 |
88
+ | Female | 1.11 |
89
+
90
+ At the default of 1.0 the male models speak too fast (about 1/0.7 of natural speed) and the female models slightly fast (about 1/0.9). To change the speed, edit `length_scale` in the model's `config.json`.
91
+
92
+ ---
93
+
94
  ## Training
95
 
96
  | Parameter | Value |
Sourashtra-Female_Script-sourashtra/config.json CHANGED
@@ -127,7 +127,7 @@
127
  "use_sdp": true,
128
  "noise_scale": 1.0,
129
  "inference_noise_scale": 0.667,
130
- "length_scale": 1,
131
  "noise_scale_dp": 1.0,
132
  "inference_noise_scale_dp": 1.0,
133
  "max_inference_len": null,
 
127
  "use_sdp": true,
128
  "noise_scale": 1.0,
129
  "inference_noise_scale": 0.667,
130
+ "length_scale": 1.11,
131
  "noise_scale_dp": 1.0,
132
  "inference_noise_scale_dp": 1.0,
133
  "max_inference_len": null,
Sourashtra-Female_Script-tamil/config.json CHANGED
@@ -127,7 +127,7 @@
127
  "use_sdp": true,
128
  "noise_scale": 1.0,
129
  "inference_noise_scale": 0.667,
130
- "length_scale": 1,
131
  "noise_scale_dp": 1.0,
132
  "inference_noise_scale_dp": 1.0,
133
  "max_inference_len": null,
 
127
  "use_sdp": true,
128
  "noise_scale": 1.0,
129
  "inference_noise_scale": 0.667,
130
+ "length_scale": 1.11,
131
  "noise_scale_dp": 1.0,
132
  "inference_noise_scale_dp": 1.0,
133
  "max_inference_len": null,
Sourashtra-Male_Script-sourashtra/config.json CHANGED
@@ -127,7 +127,7 @@
127
  "use_sdp": true,
128
  "noise_scale": 1.0,
129
  "inference_noise_scale": 0.667,
130
- "length_scale": 1,
131
  "noise_scale_dp": 1.0,
132
  "inference_noise_scale_dp": 1.0,
133
  "max_inference_len": null,
 
127
  "use_sdp": true,
128
  "noise_scale": 1.0,
129
  "inference_noise_scale": 0.667,
130
+ "length_scale": 1.43,
131
  "noise_scale_dp": 1.0,
132
  "inference_noise_scale_dp": 1.0,
133
  "max_inference_len": null,
Sourashtra-Male_Script-tamil/config.json CHANGED
@@ -127,7 +127,7 @@
127
  "use_sdp": true,
128
  "noise_scale": 1.0,
129
  "inference_noise_scale": 0.667,
130
- "length_scale": 1,
131
  "noise_scale_dp": 1.0,
132
  "inference_noise_scale_dp": 1.0,
133
  "max_inference_len": null,
 
127
  "use_sdp": true,
128
  "noise_scale": 1.0,
129
  "inference_noise_scale": 0.667,
130
+ "length_scale": 1.43,
131
  "noise_scale_dp": 1.0,
132
  "inference_noise_scale_dp": 1.0,
133
  "max_inference_len": null,