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

UnicodeDecodeError: 'cp949' codec can't decode byte 0xed in position 2399: illegal multibyte sequence #4

Open
Hansupark opened this issue Apr 19, 2023 · 2 comments

Comments

@Hansupark
Copy link

Hansupark commented Apr 19, 2023

image

image

@wjdgusdn1223
Copy link

same error

@kimsunglyul
Copy link

prompt가 한글일때 윈도우에서 실행시 인코딩 방식때문에 오류나는 것 같습니다.
data.py파일에 12번째 줄에[ , encoding="utf-8"] 추가하고 실행해 보세요
with open(SRC_DIR/ "data/prompt.txt", "r", encoding="utf-8") as prompt_file:

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

3 participants