You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix `task` type-hint and remove extra space in `logging`
* Align `transformers` and `diffusers` inputs with Inference API
* Remove duplicated `sentencepiece` extra requirement
* Remove `pipeline.task` check for `sentence-transformers`
* Add `warning` and `pop` unsupported parameters
* Fix `sentence-transformers` pipeline type-hints
* Update `sentence-ranking` type-hints
* Add missing type-hints and clear code a bit
* Fix failing `sentence-transformers` tests due to input parsing
* Fix "table-question-answering" payload check
* Fix "zero-shot-classification" payload check
* Check that payload is `dict` in advance
* Fix `HuggingFaceHandler` errors and checks
* Fix `sentence-transformers` pipelines as those don't have parameters
* Fix `INPUT` to `input_data` fixture
* Fix quality in `tests/unit/test_handler.py`
* Make `parameters` default to empty dict instead of None
* Add note on `token-classification` / `ner` task
Apparently the parameters are indeed supported via the `__call__` method
of the `TokenClassificationPipeline` even if the docs say otherwise,
since those are internally provided to the `_sanitize_parameters`
function and then used within the `__call__` method instead of via the
`__init__`
* Update `version` in `setup.py`
* Fix `generate_kwargs` payload handling for text2text-based tasks
* Fix `generate_kwargs` handling to move to flatten first-level dict
Co-authored-by: Célina <[email protected]>
* Update `generate_kwargs` handling as sometimes required
* Remove `generate` from supported generation kwargs key names
* Update `SentenceRankingPipeline` to handle `query`-`texts` pipelines
Also adds some extra validation steps
* Update typing and fix `sentence-transformers` tests
* Upgrade `transformers`, `sentence-transformers` and `peft` dependencies
---------
Co-authored-by: Célina <[email protected]>
Copy file name to clipboardExpand all lines: setup.py
+5-5
Original file line number
Diff line number
Diff line change
@@ -5,15 +5,15 @@
5
5
# We don't declare our dependency on transformers here because we build with
6
6
# different packages for different variants
7
7
8
-
VERSION="0.5.2"
8
+
VERSION="0.5.3"
9
9
10
10
# Ubuntu packages
11
11
# libsndfile1-dev: torchaudio requires the development version of the libsndfile package which can be installed via a system package manager. On Ubuntu it can be installed as follows: apt install libsndfile1-dev
12
12
# ffmpeg: ffmpeg is required for audio processing. On Ubuntu it can be installed as follows: apt install ffmpeg
13
13
# libavcodec-extra : libavcodec-extra includes additional codecs for ffmpeg
0 commit comments