Skip to content

Releases: IBM/unitxt

Unitxt 1.26.5

31 Jul 14:10
8eb8974
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.26.4...1.26.5

Unitxt 1.26.4

22 Jul 14:35
83063f9
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.26.3...1.26.4

Unitxt 1.26.3

16 Jul 17:47
728fcc8
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.26.2...1.26.3

Unitxt 1.26.2

16 Jul 09:44
68aa406
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.26.1...1.26.2

Unitxt 1.26.1

10 Jul 17:27
b6cc840
Compare
Choose a tag to compare

Lock datasets dependency to <4.0.0

The latest datasets v4.0.0 release removes support for loading datasets with trust_remote_code=True. This change breaks compatibility with many datasets currently in the Unitxt catalog, as several datasets require this feature to load properly.

This patch restricts the datasets version to below 4.0.0 until we can find or develop replacements for affected datasets.

Unitxt 1.26.0 - Multi Threading

09 Jul 14:27
9561615
Compare
Choose a tag to compare

Main changes:

  • Made Unitxt Thread-Safe so it can run in multi-threaded environments.
  • Added an option to set sampling seed for demos (in context example). This is done by demos_sampling_seed. It allows running the same dataset with different demo examples.
  • Improved printouts of instance scores with to_markdown() and summary in Unitxt. For example :
results = evaluate(predictions=predictions, data=dataset)
print(results.instance_scores.summary)
image

All changes:

Full Changelog: 1.25.0...1.26.0

Unitxt 1.25.0 - Improved Error Messages

25 Jun 18:51
c5acd23
Compare
Choose a tag to compare

Main changes

  • Error message simplied and improved. Now each failue produces a short stack trace, following by the context the error occured, a link to help documention, and then the detailed error message
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ 🦄 Unitxt Error Context                                                                                              │
│ -------------------------------------------------------------------------------------------------------------------- │
│  - Python: 3.10.17                                                                                                   │
│  - Unitxt: 1.25.0                                                                                                    │
│  - Stage: Metric Processing                                                                                          │
│  - Stream: all_data>>                                                                                                │
│  - Object: KeyValueExtraction (https://www.unitxt.ai/en/latest/unitxt.metrics.html#unitxt.metrics.KeyValueExtraction)│
│  - Help: https://www.unitxt.ai/en/latest/docs/adding_metric.html                                                     │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

Each reference is expected to be of type 'Dict[str, str]' in metrics.key_value_extraction.accuracy metric. Received reference of type <class 'str'>: Austin
  • Added Granite Thinking support including example.

  • Added a flag in the format to determine whether the to place the template instructions once in the system turn, or in the user turns (for each demo and for the final input). This is important because some models delete their default system prompt, when their recieve an external system prompt.

  • Added option to get generated text in meta data when calling infer_log_prob() . In the past only seperated tokens were returned.
    See example code.

  • Added support for multi turn dialog metrics. See tool calling example.

What's Changed

Full Changelog: 1.24.0...1.25.0

Unitxt 1.24.0

03 Jun 15:52
5d576f6
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.23.1...1.24.0

Unitxt 1.23.1

29 May 14:23
f5e47f7
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.23.0...1.23.1

Unitxt 1.23.0

13 May 13:10
fd97309
Compare
Choose a tag to compare

Main changes

  1. Revised the tool calling tasks and metrics introduced in 1.22.4) - Non backward compatible change. Existing datasets addressed.
  2. Fixed support for running HF with AutoModelInferenceEngine (MultiGPU + tokenization issue)
  3. Added to_yaml() to create a yaml representation of the card that can be used for running custom datasets in Granite.build

What's Changed

New Contributors

Full Changelog: 1.22.4...1.23.0