Skip to content

Use huggingface_hub to download and use the model #1155

@wannaphong

Description

@wannaphong

I think we should use huggingface_hub to store model for downloading and using the model.

We can use huggingface_hub.hf_hub_download with local_dir to save to pythainlp-path.

Docs: https://huggingface.co/docs/huggingface_hub/package_reference/file_download#huggingface_hub.hf_hub_download

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions