runtime error
sider it to be different from the previous calls and recompute everything. This warning is only showed once. Subsequent hashing failures won't be showed. Map: 0%| | 0/200 [00:00<?, ? examples/s][A Map: 0%| | 0/200 [01:09<?, ? examples/s][A Map: 0%| | 0/200 [01:09<?, ? examples/s] Traceback (most recent call last): File "/home/user/app/app.py", line 29, in <module> dataset = dataset.map(embed,batched=True,batch_size=16) File "/usr/local/lib/python3.10/site-packages/datasets/dataset_dict.py", line 869, in map { File "/usr/local/lib/python3.10/site-packages/datasets/dataset_dict.py", line 870, in <dictcomp> k: dataset.map( File "/usr/local/lib/python3.10/site-packages/datasets/arrow_dataset.py", line 602, in wrapper out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) File "/usr/local/lib/python3.10/site-packages/datasets/arrow_dataset.py", line 567, in wrapper out: Union["Dataset", "DatasetDict"] = func(self, *args, **kwargs) File "/usr/local/lib/python3.10/site-packages/datasets/arrow_dataset.py", line 3161, in map for rank, done, content in Dataset._map_single(**dataset_kwargs): File "/usr/local/lib/python3.10/site-packages/datasets/arrow_dataset.py", line 3552, in _map_single batch = apply_function_on_filtered_inputs( File "/usr/local/lib/python3.10/site-packages/datasets/arrow_dataset.py", line 3421, in apply_function_on_filtered_inputs processed_inputs = function(*fn_args, *additional_args, **fn_kwargs) File "/home/user/app/app.py", line 27, in embed return {"embeddings" : ST.encode(information)} File "/usr/local/lib/python3.10/site-packages/sentence_transformers/SentenceTransformer.py", line 568, in encode all_embeddings = np.asarray([emb.numpy() for emb in all_embeddings]) File "/usr/local/lib/python3.10/site-packages/sentence_transformers/SentenceTransformer.py", line 568, in <listcomp> all_embeddings = np.asarray([emb.numpy() for emb in all_embeddings]) RuntimeError: Numpy is not available
Container logs:
Fetching error logs...