runtime error
55%|ββββββ | 241M/437M [00:06<00:05, 36.2MB/s] Downloading pytorch_model.bin: 60%|ββββββ | 262M/437M [00:07<00:03, 45.5MB/s] Downloading pytorch_model.bin: 62%|βββββββ | 273M/437M [00:07<00:03, 44.0MB/s] Downloading pytorch_model.bin: 65%|βββββββ | 283M/437M [00:08<00:05, 30.6MB/s] Downloading pytorch_model.bin: 67%|βββββββ | 294M/437M [00:08<00:04, 32.1MB/s] Downloading pytorch_model.bin: 72%|ββββββββ | 315M/437M [00:08<00:03, 36.9MB/s] Downloading pytorch_model.bin: 74%|ββββββββ | 325M/437M [00:08<00:02, 39.7MB/s] Downloading pytorch_model.bin: 79%|ββββββββ | 346M/437M [00:09<00:02, 33.3MB/s] Downloading pytorch_model.bin: 86%|βββββββββ | 377M/437M [00:10<00:01, 38.3MB/s] Downloading pytorch_model.bin: 91%|ββββββββββ| 398M/437M [00:10<00:00, 44.7MB/s] Downloading pytorch_model.bin: 94%|ββββββββββ| 409M/437M [00:11<00:00, 41.9MB/s] Downloading pytorch_model.bin: 98%|ββββββββββ| 430M/437M [00:11<00:00, 39.4MB/s] Downloading pytorch_model.bin: 100%|ββββββββββ| 437M/437M [00:11<00:00, 37.4MB/s] Some weights of BertModel were not initialized from the model checkpoint at lothritz/LuxemBERT and are newly initialized: ['bert.pooler.dense.weight', 'bert.pooler.dense.bias'] You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference. Traceback (most recent call last): File "/home/user/app/app.py", line 30, in <module> model.load_state_dict(torch.load('./pytorch_model.bin', map_location=torch.device('cpu'))) File "/home/user/.local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 2041, in load_state_dict raise RuntimeError('Error(s) in loading state_dict for {}:\n\t{}'.format( RuntimeError: Error(s) in loading state_dict for SentimentClassifier: Unexpected key(s) in state_dict: "bert.embeddings.position_ids".
Container logs:
Fetching error logs...