huggingface / huggingface/deep-rl-class

[HANDS-ON BUG] Unit 7, push_to_hub failed

Open
#576 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
5k
Forks
811
PR merge metrics
No merged PRs in 30d

Description

# Describe the bug

I am running miniconda on my machine. The model trained fine and I entered the hugging-face token as well. However, when I tried to push to hub, it fails, and says "'charmap' codec can't decode byte 0x90 in position 641: character maps to " .
Is this an issue with my username? It contains a dash(-). I checked the run id and local directory, but they don't seem to be the issue.

# Material

Trained the model locally.

- Windows 11
- Version 23H2 (OS Build 22631.4460)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Unit 7 push_to_hub flow on Windows 11 using miniconda and capture the complete traceback around the reported 'charmap' decoding error. Determine whether the failure occurs during the Hugging Face Hub upload or local file handling; done means the cause and a reproducible, Windows-compatible fix are identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
huggingface
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.