Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ Check out our interactive [demo](https://aphp.github.io/edsnlp/demo/) !
You can install EDS-NLP via `pip`. We recommend pinning the library version in your projects, or use a strict package manager like [Poetry](https://python-poetry.org/).

```shell
pip install edsnlp==0.15.0
pip install edsnlp==0.16.0
```

or if you want to use the trainable components (using pytorch)

```shell
pip install "edsnlp[ml]==0.15.0"
pip install "edsnlp[ml]==0.16.0"
```

### A first pipeline
Expand Down
10 changes: 5 additions & 5 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Changelog

## Unreleased
## v0.16.0 (2025-0.3-26)

### Added
- Hyperparameter Tuning for EDS-NLP: Introduced a new script `edsnlp.tune` for hyperparameter tuning using Optuna. This feature allows users to efficiently optimize model parameters with options for single-phase or two-phase tuning strategies. Includes support for parameter importance analysis, visualization, pruning, and automatic handling of GPU time budgets.
- Provided a [detailed tutorial](./docs/tutorials/tuning.md) on hyperparameter tuning, covering usage scenarios and configuration options.
- Hyperparameter Tuning for EDS-NLP: introduced a new script `edsnlp.tune` for hyperparameter tuning using Optuna. This feature allows users to efficiently optimize model parameters with options for single-phase or two-phase tuning strategies. Includes support for parameter importance analysis, visualization, pruning, and automatic handling of GPU time budgets.
- Provided a [detailed tutorial](https://aphp.github.io/edsnlp/v0.16.0/tutorials/tuning/) on hyperparameter tuning, covering usage scenarios and configuration options.
- `ScheduledOptimizer` (e.g., `@core: "optimizer"`) now supports importing optimizers using their qualified name (e.g., `optim: "torch.optim.Adam"`).
- `edsnlp/ner_crf.` now compute confidence score on spans.
- `eds.ner_crf` now computes confidence score on spans.

### Changed

Expand All @@ -25,7 +25,7 @@
- Raise an error if the batch size in `stream.shuffle(batch_size=...)` is not compatible with the stream
- `eds.split` now keeps doc and span attributes in the sub-documents.

# v0.15.0 (2024-12-13)
## v0.15.0 (2024-12-13)

### Added

Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ Check out our interactive [demo](https://aphp.github.io/edsnlp/demo/) !
You can install EDS-NLP via `pip`. We recommend pinning the library version in your projects, or use a strict package manager like [Poetry](https://python-poetry.org/).

```{: data-md-color-scheme="slate" }
pip install edsnlp==0.15.0
pip install edsnlp==0.16.0
```

or if you want to use the trainable components (using pytorch)

```{: data-md-color-scheme="slate" }
pip install "edsnlp[ml]==0.15.0"
pip install "edsnlp[ml]==0.16.0"
```

### A first pipeline
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/training.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ readme = "README.md"
requires-python = ">3.7.1,<4.0"

dependencies = [
"edsnlp[ml]>=0.15.0",
"edsnlp[ml]>=0.16.0",
"sentencepiece>=0.1.96"
]

Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/tuning.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ readme = "README.md"
requires-python = ">3.7.1,<4.0"

dependencies = [
"edsnlp[ml]>=0.15.0",
"edsnlp[ml]>=0.16.0",
"sentencepiece>=0.1.96",
"optuna>=4.0.0",
"plotly>=5.18.0",
Expand Down
2 changes: 1 addition & 1 deletion edsnlp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import edsnlp.pipes
from . import reducers

__version__ = "0.15.0"
__version__ = "0.16.0"

BASE_DIR = Path(__file__).parent

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ ml = [
"rich-logger>=0.3.1",
"torch>=1.13.0",
"foldedtensor>=0.3.4",
"safetensors>=0.3.0",
"safetensors>=0.3.0; python_version>='3.8'",
"safetensors>=0.3.0,<0.5.0; python_version<'3.8'",
"transformers>=4.0.0,<5.0.0",
"accelerate>=0.20.3,<1.0.0",
]
Expand Down
Loading