Closed fclearner closed 2 months ago
Hi, this design is for the expansibility. Code in slam_model.py is a base implementation and code in the examples is a succession. This makes sure different recipes have different task-specific design if needed.
py is a base implement
thanks for the reply,
Hi, this design is for the expansibility. Code in slam_model.py is a base implementation and code in the examples is a succession. This makes sure different recipes have different task-specific design if needed.
Thanks for your explanation, It has been very helpful!
System Info
None
Information
🐛 Describe the bug
Hello,
Thank you for your excellent work on llm-asr.
I've been conducting some experiments with SLAM-LLM recently and encountered a peculiar section in the model initialization code, specifically the model factory function:
There are two model factory codes:
https://github.com/X-LANCE/SLAM-LLM/blob/683122402391806512a9d13febe8a952bb7c406e/src/slam_llm/models/slam_model.py#L21
https://github.com/X-LANCE/SLAM-LLM/blob/683122402391806512a9d13febe8a952bb7c406e/examples/asr_librispeech/model/slam_model_asr.py#L15
Do these serve any specific purpose?
I noticed that the two parts of the code are quite similar. Could you explain why they are organized in this manner?
Thank you in advance for your response
Error logs
None
Expected behavior
None