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

text-classification issue #76

Open
HARISHSENTHIL opened this issue Oct 28, 2024 · 0 comments
Open

text-classification issue #76

HARISHSENTHIL opened this issue Oct 28, 2024 · 0 comments

Comments

@HARISHSENTHIL
Copy link

README.md checkpoint-1500 checkpoint-3000 checkpoint-4500 checkpoint-5500 checkpoint-7000 checkpoint-8500 checkpoint-9819 model.safetensors tokenizer_config.json training_args.bin
all_results.json checkpoint-2000 checkpoint-3500 checkpoint-500 checkpoint-6000 checkpoint-7500 checkpoint-9000 config.json special_tokens_map.json train_results.json vocab.txt
checkpoint-1000 checkpoint-2500 checkpoint-4000 checkpoint-5000 checkpoint-6500 checkpoint-8000 checkpoint-9500 eval_results.json tokenizer.json trainer_state.json

this is my check point file if try to access this. i am getting error { python3 qnli.py --ckpt /home/ollama/Apps/trak/qnli_model/model.safetensors --out /home/ollama/Apps/trak/trak_output }

Traceback (most recent call last):
File "/home/ollama/Apps/trak/trak/examples/qnli.py", line 160, in
model = init_model(args.ckpt, device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ollama/Apps/trak/trak/examples/qnli.py", line 135, in init_model
sd = ch.load(ckpt_path)
^^^^^^^^^^^^^^^^^^
File "/home/ollama/.pyenv/versions/3.11.0/lib/python3.11/site-packages/torch/serialization.py", line 1114, in load
return _legacy_load(
^^^^^^^^^^^^^
File "/home/ollama/.pyenv/versions/3.11.0/lib/python3.11/site-packages/torch/serialization.py", line 1338, in _legacy_load
magic_number = pickle_module.load(f, **pickle_load_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_pickle.UnpicklingError: invalid load key, '\xe8'.

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

1 participant