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

[Bug] #53

Closed
huajinghua opened this issue Jul 11, 2023 · 1 comment
Closed

[Bug] #53

huajinghua opened this issue Jul 11, 2023 · 1 comment

Comments

@huajinghua
Copy link

Describe the bug

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 25401: invalid start byte
The above exception was the direct cause of the following exception:

╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ /data/llm/anaconda3/envs/llm/lib/python3.9/site-packages/transformers/modeling_utils.py:457 in │
│ load_state_dict │
│ │
│ 454 │ │ │ │ │ │ "you cloned." │
│ 455 │ │ │ │ │ ) │
│ 456 │ │ │ │ else: │
│ ❱ 457 │ │ │ │ │ raise ValueError( │
│ 458 │ │ │ │ │ │ f"Unable to locate the file {checkpoint_file} which is necessary │
│ 459 │ │ │ │ │ │ "model. Make sure you have saved the model properly." │
│ 460 │ │ │ │ │ ) from e │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ValueError: Unable to locate the file /data/llm/internlm-chat-7b/pytorch_model-00001-of-00002.bin which is
necessary to load this pretrained model. Make sure you have saved the model properly.

Environment

python3.9

Other information

No response

@huajinghua huajinghua added the Bug Something isn't working label Jul 11, 2023
@hellock hellock removed the Bug Something isn't working label Jul 13, 2023
@hellock
Copy link
Contributor

hellock commented Jul 13, 2023

Please describe the issue in detail.

@hellock hellock closed this as completed Jul 14, 2023
li126com pushed a commit to li126com/InternLM that referenced this issue Mar 26, 2024
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