v1.0.3
版本发布时间: 2024-01-17 01:12:21
huggingface/setfit最新发布版本:v1.1.0(2024-09-19 17:28:57)
This is a patch release with two notable fixes and a feature:
- Training logs now correctly list the number of training examples (now called "unique pairs")
- The warmup steps is now based on the number of steps rather than
args.max_steps
ifargs.max_steps
> the number of steps. This prevents accidentally being in warm-up for longer than the desired warmup proportion. - When training with string labels, the model now tries to automatically set the string labels to
SetFitModel.labels
if this variable hasn't been defined yet.
The PRs:
- Set labels based on head classes, if possible by @tomaarsen in https://github.com/huggingface/setfit/pull/476
- Refactor training logs & fix warmup_proportion by @tomaarsen in https://github.com/huggingface/setfit/pull/475
Full Changelog: https://github.com/huggingface/setfit/compare/v1.0.2...v1.0.3