nomic-ai / pygpt4all

Official supported Python bindings for llama.cpp + gpt4all
https://nomic-ai.github.io/pygpt4all/
MIT License
1.02k stars 162 forks source link

WARNING - UnicodeDecodeError of bytes b'\xad' #87

Closed pycloux closed 1 year ago

pycloux commented 1 year ago

Hello,

When running with model ggml-gpt4all-j-v1.3-groovy.bin, I have a lot of {model.py:85} WARNING - UnicodeDecodeError of bytes b'\xad' in the INFO log.

This is related to an Unicode error in pygptj/model.py (line 85 as specified).

Not blocking as this is a warning.

jav-ed commented 1 year ago

I believe to have a similar issue like you: https://github.com/nomic-ai/pygpt4all/issues/88

abdeladim-s commented 1 year ago

Hello @pycloux,

It is the same issue as #76 Please update the package and give it a try now ?

I believe the issue should be solved. (ensure you have pygptj version 1.0.10).

pycloux commented 1 year ago

Hi @abdeladim-s,

Just tested. It fixed the issue for me. Thanks 👍