The error is due to unpacking a tuple that contains a single element.
python3.10/site-packages/eland/ml/pytorch/transformers.py", line 735, in _create_config
text_embedding, _ = sample_embedding
ValueError: not enough values to unpack (expected 2, got 1)
Installing the
ance-dpr-context-multi
model with theeland_import_hub_model
script fails.The error is due to unpacking a tuple that contains a single element.
The fix is to only take the first element