Skip to content

Deprecated pythainlp.generate.thai2fit and pythainlp.generate.wangchanglm #1514

Description

@wannaphong

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions