Skip to content

Commit

Permalink
Prepare release 0.14.0 (#985)
Browse files Browse the repository at this point in the history
Release text:

This release offers a new interface for scikit-learn to do zero-shot and
few-shot classification using open source large language models (Jump right into
the example notebook).

skorch.llm.ZeroShotClassifier and skorch.llm.FewShotClassifier allow the user to
do classification using open-source language models that are compatible with the
huggingface generation interface. This allows you to do all sort of interesting
things in your pipelines. From simply plugging a LLM into your classification
pipeline to get preliminary results quickly, to using these classifiers to
generate training data candidates for downstream models. This is a first draft
of the interface, therefore it is not unlikely that the interface will change a
bit in the future, so please, let us know about any potential issues you have.

Other items of this release are

- the drop of Python 3.7 support - this version of Python has reached EOL and
  will not be supported anymore
- the NeptuneLogger now logs the skorch version thanks to AleksanderWWW
- NeuralNetRegressor can now be fitted with 1-dimensional y, which is necessary
  in some specific circumstances (e.g. in conjunction with sklearn's
  BaggingRegressor, see sklearn.ensemble.BaggingRegressor() #972); for this to
  work correctly, the output of the of the PyTorch module should also be
  1-dimensional; the existing default, i.e. having y and y_pred be
  2-dimensional, remains the recommended way of using NeuralNetRegressor
  • Loading branch information
ottonemo authored Jun 26, 2023
1 parent df92d4d commit 4c5cfda
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added
### Changed
### Fixed

## [0.14.0] - 2023-06-24

### Added

Expand Down Expand Up @@ -322,3 +327,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[0.12.0]: https://github.com/skorch-dev/skorch/compare/v0.11.0...v0.12.0
[0.12.1]: https://github.com/skorch-dev/skorch/compare/v0.12.0...v0.12.1
[0.13.0]: https://github.com/skorch-dev/skorch/compare/v0.12.1...v0.13.0
[0.14.0]: https://github.com/skorch-dev/skorch/compare/v0.13.0...v0.14.0
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.13.1dev
0.14.0

0 comments on commit 4c5cfda

Please sign in to comment.