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

tiktoken pygments 要自己装 #9

Closed
Guoen0 opened this issue Nov 27, 2023 · 2 comments
Closed

tiktoken pygments 要自己装 #9

Guoen0 opened this issue Nov 27, 2023 · 2 comments

Comments

@Guoen0
Copy link

Guoen0 commented Nov 27, 2023

ModuleNotFoundError: No module named 'requests' 等等

@Guoen0
Copy link
Author

Guoen0 commented Nov 27, 2023

UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 9393: illegal multibyte sequence
有几个地方要加 encoding='utf-8' 才能运行下去

running_recorder.py
with open('your_file_path', 'r', encoding='utf-8') as reader:
llm_pair = json.load(reader)

mock_input.py
with open(os.path.join(self.mock_pair_dir, file_name), "r", encoding='utf-8') as reader:
json_data_for_integration = json.load(reader)

@BlitherBoom812
Copy link
Collaborator

感谢你的建议!我们已经修正了这个 bug,并更新了 requirements.txt 列表。
祝好!

Thank you for your suggestion! We have fixed this bug and updated the requirements.txt list.
Best wishes!

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