[Python] How to upload a machine learning model (.pkl) to Hugging Face?

Discussão em 'Python' iniciado por Stack, Abril 22, 2025.

  1. Stack

    Stack Membro Participativo

    I'm new to machine learning and I’m trying to upload a simple model (.pkl file) to Hugging Face.

    I’ve already created a model repository on Hugging Face, but I'm confused about how to upload the .pkl file to the repo.

    My questions are:


    1. Can I upload the model directly through the web interface?


    2. If I need to use huggingface_hub, what are the exact steps?

    I’ve looked through the documentation, but some of the technical terms are still a bit confusing. Thanks in advance!

    Continue reading...

Compartilhe esta Página