runtime error

Exit code: 1. Reason: config.json: 0%| | 0.00/462 [00:00<?, ?B/s] config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 462/462 [00:00<00:00, 3.68MB/s] pytorch_model.bin: 0%| | 0.00/433M [00:00<?, ?B/s] pytorch_model.bin: 23%|β–ˆβ–ˆβ–Ž | 97.9M/433M [00:01<00:04, 78.7MB/s] pytorch_model.bin: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 433M/433M [00:01<00:00, 289MB/s] Some weights of BertForSequenceClassification were not initialized from the model checkpoint at dmis-lab/biobert-v1.1 and are newly initialized: ['classifier.bias', 'classifier.weight'] You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference. model.safetensors: 0%| | 0.00/433M [00:00<?, ?B/s]Traceback (most recent call last): File "/home/user/app/app.py", line 15, in <module> model.load_state_dict(torch.load('biobert_multilabel_model_2.pt', map_location=torch.device('cpu'))) File "/usr/local/lib/python3.10/site-packages/torch/nn/modules/module.py", line 2624, in load_state_dict raise RuntimeError( RuntimeError: Error(s) in loading state_dict for BertForSequenceClassification: size mismatch for classifier.weight: copying a param with shape torch.Size([17, 768]) from checkpoint, the shape in current model is torch.Size([4, 768]). size mismatch for classifier.bias: copying a param with shape torch.Size([17]) from checkpoint, the shape in current model is torch.Size([4]). model.safetensors: 23%|β–ˆβ–ˆβ–Ž | 98.0M/433M [00:01<00:03, 93.8MB/s] model.safetensors: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 433M/433M [00:01<00:00, 343MB/s]

Container logs:

Fetching error logs...