fix: Update lock and remove python limit fo pylate and colbert_engine#4783
Conversation
Breaks our zero-shot tasks. I always wanted to fix it to support more metrics, but it seems this is really necessary now. |
KennethEnevoldsen
left a comment
There was a problem hiding this comment.
for now should we set an upper limit for sklearn until we have fixes the issues?
Otherwise good
|
Created an issue #4784 |
scikit-learn 1.9 raises "ValueError: Mix of label input types" when classification metrics receive string y_true with numeric y_pred. Zeroshot predictions are always integer indices into the candidate labels, so string dataset labels are now mapped to their candidate index before scoring. Unmappable string labels raise a clear error instead of silently scoring 0.0, which is what scikit-learn < 1.9 did. Removes the <1.9.0 pin introduced as a stopgap in #4783. Fixes #4784 Co-authored-by: Kenneth Enevoldsen <kennethcenevoldsen@gmail.com>
Remove
python_full_version < '3.13'for pylate and colbert_engine. They're supporting higher python verisions. I updateduv.lock