| 267 | << " --reference-duration-seconds <float>\n" |
| 268 | << " --num-inference-steps <n>\n" |
| 269 | << " --text-chunk-size <chars>\n" |
| 270 | << " --text-chunk-mode default|tag_aware|japanese|endline\n" |
| 271 | << " --seed <n>\n"; |
| 272 | } |
| 273 | if (model_supports_task(inspection, engine::runtime::VoiceTaskKind::Asr) || |
| 274 | model_supports_task(inspection, engine::runtime::VoiceTaskKind::Vad) || |
| 275 | model_supports_task(inspection, engine::runtime::VoiceTaskKind::Diarization) || |
| 276 | model_supports_task(inspection, engine::runtime::VoiceTaskKind::SourceSeparation) || |
| 277 | model_supports_task(inspection, engine::runtime::VoiceTaskKind::Midi) || |
| 278 | model_supports_task(inspection, engine::runtime::VoiceTaskKind::SpeakerRecognition)) { |
| 279 | std::cout |
| 280 | << " --audio <wav>\n" |
| 281 | << " --batch-audio-dir <dir>\n"; |
| 282 | } |
| 283 | if (model_supports_task(inspection, engine::runtime::VoiceTaskKind::Asr)) { |
| 284 | std::cout |
| 285 | << " --audio-chunk-seconds <float>\n" |
| 286 | << " --audio-chunk-mode auto|fixed|vad|none\n"; |
| 287 | } |
| 288 | if (model_supports_task(inspection, engine::runtime::VoiceTaskKind::Alignment)) { |
| 289 | std::cout |
| 290 | << " --audio <wav>\n" |
| 291 | << " --batch-audio-dir <dir>\n" |
| 292 | << " --text <text>\n" |
| 293 | << " --language <code>\n" |
| 294 | << " --text-chunk-size <chars>\n" |
| 295 | << " --audio-chunk-seconds <float>\n" |
| 296 | << " --audio-chunk-mode auto|fixed|none\n"; |
| 297 | } |
| 298 | } |
| 299 | |
| 300 | void print_model_help(const engine::runtime::ModelInspection & inspection) { |
| 301 | std::cout |
| 302 | << "family=" << inspection.metadata.family << "\n" |
| 303 | << "variant=" << inspection.metadata.variant << "\n" |
| 304 | << "model_root=" << inspection.model_root.string() << "\n" |
no test coverage detected