From fa088c8a6c377bcd6f435883ee38a82aaded30af Mon Sep 17 00:00:00 2001 From: Gabriele Sarti Date: Sat, 13 Apr 2024 15:29:55 +0200 Subject: [PATCH] v0.6 --- CHANGELOG.md | 29 ----------------------------- docs/source/conf.py | 4 ++-- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 32 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3fade279..9d7e27d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,32 +1,3 @@ # Changelog *This file contains a high-level description of changes that were merged into the Inseq main branch since the last release. Refer to the [releases page](https://github.com/inseq-team/inseq/releases) for an exhaustive overview of changes introduced at each release.* - -## 🚀 Features - -- Support for multi-GPU attribution ([#238](https://github.com/inseq-team/inseq/pull/238)) -- Added `inseq attribute-context` CLI command to support the [PECoRe framework] for detecting and attributing context reliance in generative LMs ([#237](https://github.com/inseq-team/inseq/pull/237)) -- Added `value_zeroing` (`inseq.attr.feat.perturbation_attribution.ValueZeroingAttribution`) attribution method ([#173](https://github.com/inseq-team/inseq/pull/173)) -- `value_zeroing` and `attention` use scores from the last generation step to produce outputs more efficiently (`is_final_step_method = True`) ([#173](https://github.com/inseq-team/inseq/pull/173)). - -## 🔧 Fixes & Refactoring - -- Fix `ContiguousSpanAggregator` and `SubwordAggregator` edge case of single-step generation ([#247](https://github.com/inseq-team/inseq/pull/247)) -- Move tensors to CPU right away in the forward pass to avoid OOM when cloning ([#245](https://github.com/inseq-team/inseq/pull/245)) -- Fix `remap_from_filtered` behavior on sequence_scores tensors. ([#245](https://github.com/inseq-team/inseq/pull/245)) -- Use torch-native padding when converting lists of `FeatureAttributionStepOutput` to `FeatureAttributionSequenceOutput` in `get_sequences_from_batched_steps`. ([#245](https://github.com/inseq-team/inseq/pull/245)) -- Bump `ruff` version ([#245](https://github.com/inseq-team/inseq/pull/245)) -- Drop `poetry` in favor of [`uv`](https://github.com/astral-sh/uv) to accelerate package installation and simplify config in `pyproject.toml`. ([#249](https://github.com/inseq-team/inseq/pull/249)) -- Drop `darglint` in favor of `pydoclint`. ([#249](https://github.com/inseq-team/inseq/pull/249)) -- Replace Arxiv with ACL Anthology badge in `README`. ([#249](https://github.com/inseq-team/inseq/pull/249)) -- Add first version of `CHANGELOG.md` ([#249](https://github.com/inseq-team/inseq/pull/249)) -- Added multithread support for running tests using `pytest-xdist` - -## 📝 Documentation and Tutorials - -*No changes* - -## 💥 Breaking Changes - -- If `attention` is used as attribution method in `model.attribute`, `step_scores` cannot be extracted at the same time since the method does not require iterating over the full sequence anymore. ([#173](https://github.com/inseq-team/inseq/pull/173)) As an alternative, step scores can be extracted separately using the `dummy` attribution method (i.e. no attribution). -- BOS is always included in target-side attribution and generated sequences if present. ([#173](https://github.com/inseq-team/inseq/pull/173)) diff --git a/docs/source/conf.py b/docs/source/conf.py index 12d27a66..28eed915 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -21,13 +21,13 @@ # -- Project information ----------------------------------------------------- project = "inseq" -copyright = "2023, The Inseq Team, Licensed under the Apache License, Version 2.0" +copyright = "2024 , The Inseq Team, Licensed under the Apache License, Version 2.0" author = "The Inseq Team" # The short X.Y version version = "0.6" # The full version, including alpha/beta/rc tags -release = "0.6.0.dev0" +release = "0.6.0" # Prefix link to point to master, comment this during version release and uncomment below line diff --git a/pyproject.toml b/pyproject.toml index 379b8060..8b0bdd05 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "inseq" -version = "0.6.0.dev0" +version = "0.6.0" description = "Interpretability for Sequence Generation Models 🔍" readme = "README.md" requires-python = ">=3.9"