Loading pretrained weights error: UnicodeDecodeError #556
-
Hi, Sebastian I've encounter a problem on loading pretrained weights from OpenAI: My running environment is Windows 11 23h2,conda install python==3.10.14 I think this issue is very likely related to the TensorFlow incompatibility! But I tried TensorFlow==2.16.2, it doesn't solved the problem. Looking forward to your kind reply! Related issues but no answer #362 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
Arg, sorry about this hassle. Could you try If this doesn't work, I think the best workaround for now, until we find a solution, is to consider alternative weight loading methods, e.g., one of the two I implemented here: https://github.com/rasbt/LLMs-from-scratch/tree/main/ch05/02_alternative_weight_loading |
Beta Was this translation helpful? Give feedback.
Well, I've tried your solution and re-downloaded all the files, but it couldn't solve the problem though. I think the Chinese system is the underlying reason, however, the problem doesn't occur at the
settings
, but at thetf_ckpt_path
params. I'm so sorry to present the full log late, which suddenly occur to me that I've been made a mistake to pu…