Skip to content

v0.6.0

Compare
Choose a tag to compare
@lewtun lewtun released this 08 Feb 13:59
· 317 commits to main since this release

v0.6.0 OpenVINO exporter, model cards, and various quality of life improvements 🔥

To bring in the new year, this release comes with many bug fixes and quality of life improvements around using SetFit models. It also provides:

  • an OpenVINO exporter that you can optimise your models for inference with. Check out the notebooks for an example.
  • a dedicated model card with metadata and usage instructions. See here for an example output from push_to_hub(): https://huggingface.co/lewtun/setfit-new-model-card

Bug fixes and improvements

Significant community contributions

The following contributors have made significant changes to the library over the last release:

  • @tomaarsen
    • Always install the checked-out setfit (#235)
    • Add SetFitModel.to (#229) (#236)
    • Prevent overriding the sample size in sample_dataset (#231)
    • Always display test coverage; add tests (#240)
    • Automatically create summary table after scripts/setfit/run_fewshot.py (#262)
    • Fix squared optimization steps bug in distillation trainer (#284)
    • Resolve SentenceTransformer resetting devices after moving a SetFitModel (#283)
    • Reformat according to the newest black version
    • Remove doubled space in warning message
    • Exclude compatibility versions from dev setup (#286)
  • @Yongtae723
    • add related work in readme (#239)
    • Fix type hints (#266)
    • Add multi-target support to SetFitHead (#272)
  • @danielkorat
    • Fix seed in trainer.py (#243)
    • add run_zeroshot.py; add functionality to data.get_templated_dataset() (formerly add_templated_examples()) (#292)
  • @AlexKoff88
    • Added support of OpenVINO export (#214)