You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(deps): address review findings on transformers v5 migration
- Bump sentence-transformers lower bound 5.2.0 → 5.4.0. The new ranker /
embedder paths (cross_encoder[0] subscript, sentence_transformers.
sentence_transformer subpackage, get_embedding_dimension) all landed
in 5.4.0; the previous floor would have ModuleNotFoundError'd /
AttributeError'd anyone resolving 5.2.x–5.3.x.
- Constrain EmbedderFineTuningConfig.warmup_ratio to (0, 1). v5
TrainingArguments interprets warmup_steps>=1 as a raw step count
and <1 as a fraction, so a stray warmup_ratio=1.0 would silently
produce one warmup step instead of full-training warmup.
- Refresh tests/test_deps.py synthetic metadata fixtures to v5
version strings so the resolver tests exercise the version range
we ship, not the v4 range we just left behind.
- Trim the v4→v5 narrating comments down to the WHY of the current
code; per-line migration history belongs in the commit log.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments