Autotrain 401 permission error

I am a layman who does not know how to code.
I got a token with write permission from huggingface.
And I installed autotrain with pip.
I am using anaconda and set up a virtual environment.
I searched for mscopilot and numerous posts and finally succeeded in running autotrain.
I entered my token in the windows environment variable.
I successfully ran the ui by accessing 127.0.0.1:8080 in Chrome.
I left the settings as default and entered llama-3.2-Korean-Bllossom-3B in huggingface as the original model.
And I uploaded the scenario dataset in the json file format as the dataset.
I do not plan to create a chatbot.
And I pressed train.
I get a 401 permission error.
How do I solve this?

1 Like

There are various causes for 401 errors, but the simplest case is a token error.
Setting the Read token to the HF_TOKEN environment variable in conda container may resolve the issue.