runtime error
Exit code: 1. Reason: ?B/s][A README.md: 100%|██████████| 10.7k/10.7k [00:00<00:00, 58.1MB/s] sentence_bert_config.json: 0%| | 0.00/53.0 [00:00<?, ?B/s][A sentence_bert_config.json: 100%|██████████| 53.0/53.0 [00:00<00:00, 580kB/s] config.json: 0%| | 0.00/612 [00:00<?, ?B/s][A config.json: 100%|██████████| 612/612 [00:00<00:00, 5.68MB/s] model.safetensors: 0%| | 0.00/90.9M [00:00<?, ?B/s][A model.safetensors: 100%|█████████▉| 90.9M/90.9M [00:00<00:00, 243MB/s] tokenizer_config.json: 0%| | 0.00/350 [00:00<?, ?B/s][A tokenizer_config.json: 100%|██████████| 350/350 [00:00<00:00, 2.65MB/s] vocab.txt: 0%| | 0.00/232k [00:00<?, ?B/s][A vocab.txt: 100%|██████████| 232k/232k [00:00<00:00, 57.8MB/s] tokenizer.json: 0%| | 0.00/466k [00:00<?, ?B/s][A tokenizer.json: 100%|██████████| 466k/466k [00:00<00:00, 48.4MB/s] special_tokens_map.json: 0%| | 0.00/112 [00:00<?, ?B/s][A special_tokens_map.json: 100%|██████████| 112/112 [00:00<00:00, 1.37MB/s] 1_Pooling/config.json: 0%| | 0.00/190 [00:00<?, ?B/s][A 1_Pooling/config.json: 100%|██████████| 190/190 [00:00<00:00, 2.14MB/s] Error creating embeddings: need at least one array to concatenate Error initializing LegalRetriever: need at least one array to concatenate Traceback (most recent call last): File "/home/user/app/app.py", line 29, in <module> retriever = LegalRetriever(sections) File "/home/user/app/utils/rag_handler.py", line 14, in __init__ self._create_embeddings() File "/home/user/app/utils/rag_handler.py", line 30, in _create_embeddings self.embeddings = np.vstack(embeddings) File "/usr/local/lib/python3.10/site-packages/numpy/core/shape_base.py", line 289, in vstack return _nx.concatenate(arrs, 0, dtype=dtype, casting=casting) ValueError: need at least one array to concatenate
Container logs:
Fetching error logs...