Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2024-01-16 | 865 Bytes | |
v1.0.3 source code.tar.gz | 2024-01-16 | 24.5 MB | |
v1.0.3 source code.zip | 2024-01-16 | 24.6 MB | |
Totals: 3 Items | 49.1 MB | 0 |
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
if args.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