runtime error
sors: 59%|█████▉ | 294M/499M [00:06<00:03, 51.4MB/s] Downloading model.safetensors: 61%|██████ | 304M/499M [00:06<00:03, 52.2MB/s] Downloading model.safetensors: 63%|██████▎ | 315M/499M [00:07<00:05, 33.3MB/s] Downloading model.safetensors: 65%|██████▌ | 325M/499M [00:07<00:04, 37.0MB/s] Downloading model.safetensors: 69%|██████▉ | 346M/499M [00:08<00:04, 35.9MB/s] Downloading model.safetensors: 74%|███████▎ | 367M/499M [00:08<00:03, 35.6MB/s] Downloading model.safetensors: 80%|███████▉ | 398M/499M [00:09<00:02, 38.9MB/s] Downloading model.safetensors: 84%|████████▍ | 419M/499M [00:10<00:02, 38.5MB/s] Downloading model.safetensors: 86%|████████▌ | 430M/499M [00:10<00:01, 41.9MB/s] Downloading model.safetensors: 90%|█████████ | 451M/499M [00:10<00:01, 37.7MB/s] Downloading model.safetensors: 95%|█████████▍| 472M/499M [00:11<00:00, 40.3MB/s] Downloading model.safetensors: 100%|██████████| 499M/499M [00:11<00:00, 48.6MB/s] Downloading model.safetensors: 100%|██████████| 499M/499M [00:11<00:00, 42.4MB/s] Some weights of RobertaModel were not initialized from the model checkpoint at roberta-base and are newly initialized: ['roberta.pooler.dense.bias', 'roberta.pooler.dense.weight'] 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 "app.py", line 39, in <module> model_sustain.load_state_dict(torch.load('sustainability_model.bin', map_location=device)['model_state_dict']) File "/home/user/.local/lib/python3.8/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 BERTClass: Unexpected key(s) in state_dict: "l1.embeddings.position_ids".
Container logs:
Fetching error logs...