Set speaking speed (length_scale): male 1.43, female 1.11
Browse filesAt length_scale 1.0 the models speak too fast. This sets model_args.length_scale in each config.json:
- Male (Tamil and Sourashtra script): 1.43 (target 0.7x of the current speed)
- Female (Tamil and Sourashtra script): 1.11 (target 0.9x of the current speed)
inference.py reads the value from config.json, so no code change is needed. Only this one value changes in each config. The README gets a short Speaking Speed section explaining it.
Files changed (5)
77 unmodified lines78798081828377 unmodified lines---## Training| Parameter | Value |77 unmodified lines7879808182838485868788899091929394959677 unmodified lines---## Speaking SpeedEach `config.json` sets `model_args.length_scale`, which controls speaking speed (higher = slower):| Speaker | `length_scale` ||---------|----------------|| Male | 1.43 || Female | 1.11 |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`.---## Training| Parameter | Value |
126 unmodified lines127128129130131132133126 unmodified lines"use_sdp": true,"noise_scale": 1.0,"inference_noise_scale": 0.667,"length_scale": 1,"noise_scale_dp": 1.0,"inference_noise_scale_dp": 1.0,"max_inference_len": null,126 unmodified lines127128129130131132133126 unmodified lines"use_sdp": true,"noise_scale": 1.0,"inference_noise_scale": 0.667,"length_scale": 1.11,"noise_scale_dp": 1.0,"inference_noise_scale_dp": 1.0,"max_inference_len": null,
126 unmodified lines127128129130131132133126 unmodified lines"use_sdp": true,"noise_scale": 1.0,"inference_noise_scale": 0.667,"length_scale": 1,"noise_scale_dp": 1.0,"inference_noise_scale_dp": 1.0,"max_inference_len": null,126 unmodified lines127128129130131132133126 unmodified lines"use_sdp": true,"noise_scale": 1.0,"inference_noise_scale": 0.667,"length_scale": 1.11,"noise_scale_dp": 1.0,"inference_noise_scale_dp": 1.0,"max_inference_len": null,
126 unmodified lines127128129130131132133126 unmodified lines"use_sdp": true,"noise_scale": 1.0,"inference_noise_scale": 0.667,"length_scale": 1,"noise_scale_dp": 1.0,"inference_noise_scale_dp": 1.0,"max_inference_len": null,126 unmodified lines127128129130131132133126 unmodified lines"use_sdp": true,"noise_scale": 1.0,"inference_noise_scale": 0.667,"length_scale": 1.43,"noise_scale_dp": 1.0,"inference_noise_scale_dp": 1.0,"max_inference_len": null,
126 unmodified lines127128129130131132133126 unmodified lines"use_sdp": true,"noise_scale": 1.0,"inference_noise_scale": 0.667,"length_scale": 1,"noise_scale_dp": 1.0,"inference_noise_scale_dp": 1.0,"max_inference_len": null,126 unmodified lines127128129130131132133126 unmodified lines"use_sdp": true,"noise_scale": 1.0,"inference_noise_scale": 0.667,"length_scale": 1.43,"noise_scale_dp": 1.0,"inference_noise_scale_dp": 1.0,"max_inference_len": null,
README.md+13
Sourashtra-Female_Script-sourashtra/config.json+1-1
Sourashtra-Female_Script-tamil/config.json+1-1
Sourashtra-Male_Script-sourashtra/config.json+1-1
Sourashtra-Male_Script-tamil/config.json+1-1