Managing the HCLG Graph: Optimizing WFSTs in Kaldi
Learn how Kaldi uses WFST composition to build HCLG graphs, the role of determinization and minimization, and how to manage the memory trade-offs of large language models.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how Kaldi uses WFST composition to build HCLG graphs, the role of determinization and minimization, and how to manage the memory trade-offs of large language models.
Kaldi maintains a distinct boundary between legacy HMM-based models and modern end-to-end neural architectures. Each approach requires a specific graph-processing pipeline to ensure that the feature extractor and the decoder are aligned. When transitioning a deployment from HMM-based decoding to neural architectures, the configuration of the scf file and the