I think it is the time to deprecate pythainlp.generate.thai2fit and pythainlp.generate.wangchanglm in pythainlp v6.0.
pythainlp.generate.thai2fit is using fastai but it has a lot of change api and thai2fit was built on old fastai version, so I think we should deprecated for maintaining.
pythainlp.generate.wangchanglm is using huggingface transformers but it is old model and latest llm are better than the model for doing Thai task (example qwen, deepseek, and more.), so we don't needs more CPT those model for Thai language. I think we should deprecated this api too.
From pythainlp.generate.wangchanglm was deprecated, pythainlp.chat will be deprecated too.
Note: The pythainlp.generate module provides classes and functions for generating Thai text using n-gram and neural language models.
I think it is the time to deprecate
pythainlp.generate.thai2fitandpythainlp.generate.wangchanglmin pythainlp v6.0.pythainlp.generate.thai2fitis usingfastaibut it has a lot of change api and thai2fit was built on oldfastaiversion, so I think we should deprecated for maintaining.pythainlp.generate.wangchanglmis using huggingface transformers but it is old model and latest llm are better than the model for doing Thai task (example qwen, deepseek, and more.), so we don't needs more CPT those model for Thai language. I think we should deprecated this api too.From
pythainlp.generate.wangchanglmwas deprecated,pythainlp.chatwill be deprecated too.Note: The pythainlp.generate module provides classes and functions for generating Thai text using n-gram and neural language models.