Repository navigation
1.42.0
1.42.0
New Features
-
Registry: Support
truncate_dimforSentenceTransformersmodels. Truncation set at
construction (SentenceTransformer(..., truncate_dim=N)) is captured when the model is logged
and restored on reload. On clients withsentence-transformers5.0.0 or later,truncate_dim
is also exposed as a runtime parameter in the model signature. -
Registry:
log_model()now captures a representative row fromsample_input_dataand stores it alongside the model
so inference code snippets shown in the model registry UI can be pre-filled with realistic values. Pass
options={"capture_sample_input_data": False}to opt out (e.g., for sensitive data); generic placeholder values
will be used in the snippets instead.
Bug Fixes
- Registry: Pin
transformers<5for additional HuggingFace pipeline tasks removed in
transformers 5.x(summarization,text2text-generation,question-answering, and
translation_*), preventing deployment failures from missing pipeline classes.