| 26 | runtime::ModelMetadata metadata(const ChatterboxAssets & assets) { |
| 27 | runtime::ModelMetadata out; |
| 28 | out.family = "chatterbox"; |
| 29 | out.variant = assets.resources.model_root().filename().string(); |
| 30 | out.description = "Chatterbox voice cloning and voice conversion loaded from local assets."; |
| 31 | return out; |
| 32 | } |
| 33 | |
| 34 | runtime::ModelCliInterface cli(const ChatterboxAssets &) { |
| 35 | runtime::ModelCliInterface out; |
| 36 | out.request_options = { |
| 37 | {"exaggeration", "float", "Emotion exaggeration. Captured during clone preparation; changing it on the same prepared session is rejected. Default: 0.5.", false, "0.5"}, |
| 38 | {"guidance_scale", "float", "T3 classifier-free guidance scale. Captured during clone preparation; changing it on the same prepared session is rejected. Default: 0.5.", false, "0.5"}, |
| 39 | {"temperature", "float", "T3 sampling temperature. Captured during clone preparation; changing it on the same prepared session is rejected. Default: 0.8.", false, "0.8"}, |
| 40 | {"repetition_penalty", "float", "T3 repetition penalty. Captured during clone preparation; changing it on the same prepared session is rejected. Default: 1.2.", false, "1.2"}, |
| 41 | {"min_p", "float", "Minimum sampling probability. Captured during clone preparation; changing it on the same prepared session is rejected. Default: 0.05.", false, "0.05"}, |
| 42 | {"top_p", "float", "Nucleus sampling probability. Captured during clone preparation; changing it on the same prepared session is rejected. Default: 1.", false, "1"}, |
no test coverage detected