Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A UTF-8 locale is required. Got ANSI_X3.4-1968 #3

Closed
Mr-Nobody1 opened this issue Aug 4, 2023 · 1 comment
Closed

A UTF-8 locale is required. Got ANSI_X3.4-1968 #3

Mr-Nobody1 opened this issue Aug 4, 2023 · 1 comment

Comments

@Mr-Nobody1
Copy link

Cannot log into hugging face after fine tuning the model.
image

@mlabonne
Copy link
Owner

mlabonne commented Aug 4, 2023

This is a common issue with Google Colab, unfortunately. You can add the following code to prevent it:

import locale
locale.getpreferredencoding = lambda: "UTF-8"

@mlabonne mlabonne closed this as completed Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants