Skip to content

Commit

Permalink
Bump minor version to 4.1.0 (#915)
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianNiehusAA authored Jun 17, 2024
1 parent ff4d732 commit 57e7a54
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
19 changes: 15 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@
### Breaking Changes
...

### Features
...

### Fixes
...

### Deprecations
...

## 4.1.0

### New Features
- Add `eot_token` property to `ControlModel` and derived classes (`LuminousControlModel`, `Llama2InstructModel` and `Llama3InstructModel`) and let `PromptBasedClassify` use this property instead of a hardcoded string.
- Introduce a new argilla client `ArgillaWrapperClient`. This uses the `argilla` package as a connection to argilla and supports all question types that argilla supports in their `FeedbackDataset`. This includes text and yes/no questions. For more information about the questions, check [their official documentation](https://docs.argilla.io/en/latest/practical_guides/create_update_dataset/create_dataset.html#define-questions).
Expand All @@ -13,16 +24,16 @@
- `Question` -> `argilla.RatingQuestion`, `options` -> `values` and it takes only a list
- `Field` -> `argilla.TextField`
- Add `description` parameter to `Aggregator.aggregate_evaluation` to allow individual descriptions without the need to create a new `Aggregator`. This was missing from the previous release.

- Add optional field `metadata` to `Dataset`, `RunOverview`, `EvaluationOverview` and `AggregationOverview`
- Update `parameter_optimization.ipynb` to demonstrate usage of metadata****
- Add optional field `label` to `Dataset`, `RunOverview`, `EvaluationOverview` and `AggregationOverview`
- Add `unwrap_metadata` flag to `aggregation_overviews_to_pandas` to enable inclusion of metadata in pandas export. Defaults to True.

### Fixes
- Reinitializing different `AlephAlphaModel` instances and retrieving their tokenizer should now consume a lot less memory.
- Evaluations now raise errors if ids of examples and outputs no longer match. If this happens, continuing the evaluation would only produce incorrect results.
- Performing evaluations on runs with a different number of outputs now raises errors. Continuing the evaluation in this case would only lead to an inconsistent state.

### Deprecations
...

## 4.0.1

### Breaking Changes
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "intelligence-layer"
version = "4.0.1"
version = "4.1.0"
description = ""
authors = ["Aleph Alpha Engineering <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 57e7a54

Please sign in to comment.