Unitxt

Latest version: v1.18.0

Safety actively analyzes 707268 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 10

1.3.0

New Features and Enhancements:
- **Caching in LoadFromIBMCos**: Improved data retrieval efficiency with caching in LoadFromIBMCos (yoavkatz) - [PR 377](https://github.com/IBM/unitxt/pull/377).
- **Additional Inputs for HuggingFace Metrics**: Enhanced metrics with the ability to include additional inputs (yoavkatz) - [PR 383](https://github.com/IBM/unitxt/pull/383).
- **Support for Independent Random Generators**: Enhanced data diversity with support for independent random generators (matanor) - [PR 374](https://github.com/IBM/unitxt/pull/374).
- **JSON Dumps with Non-standard ASCII Support**: Updated json.dumps calls for non-standard ASCII support (yoavkatz) - [PR 386](https://github.com/IBM/unitxt/pull/386).
- **Improved API and Coverage of CastFields**: Overhauled CastFields API and fixed issues with casting list fields (dafnapension) - [PR 372](https://github.com/IBM/unitxt/pull/372).
- **Expand Augment Suffix to Prefix Suffix**: Expanded augment suffix functionality to include prefix suffix, increasing versatility (dafnapension) - [PR 375](https://github.com/IBM/unitxt/pull/375).

Fixes:
- **Circular Reference Error in FieldOperators**: Addressed circular reference errors in FieldOperators (dafnapension) - [PR 376](https://github.com/IBM/unitxt/pull/376).
- **Llama Fix**: Removed \<s\> from llama format. (gitMichal) - [PR 392](https://github.com/IBM/unitxt/pull/392).
- **Improvements and Fixes in Type Utils**: Improved reliability and performance in type utilities (elronbandel) - [PR 395](https://github.com/IBM/unitxt/pull/395).
- **Deep Copy in Extract Field Values**: Ensured data integrity with deep copy in extract_field_values (dafnapension) - [PR 379](https://github.com/IBM/unitxt/pull/379).

Potential for results changes

- **Llama Fix**: Removed \<s\> from llama format. (gitMichal) May changes llama model results- [PR 392](https://github.com/IBM/unitxt/pull/392).
- **Support for Independent Random Generators**: Enhanced data diversity with support for independent random generators (matanor) May change random selection of demonstrations - [PR 374](https://github.com/IBM/unitxt/pull/374).


Improvements:
- **Documentation and Code Coverage Expansion**: Expanded documentation and coverage of additional operators (dafnapension) - [PR 397](https://github.com/IBM/unitxt/pull/397).
- **Backward Compatibility in Exposing Types Dictionary**: Maintained backward compatibility by not exposing the types dictionary (dafnapension) - [PR 393](https://github.com/IBM/unitxt/pull/393).

**Full Changelog**: https://github.com/IBM/unitxt/compare/1.1.4...1.3.0

What's Changed
* Add caching to LoadFromIBMCos by yoavkatz in [PR 377](https://github.com/IBM/unitxt/pull/377)
* Allow adding additional inputs to HF metrics by yoavkatz in [PR 383](https://github.com/IBM/unitxt/pull/383)
* Support random generators independent of previous randomizations by matanor in [PR 374](https://github.com/IBM/unitxt/pull/374)
* Change calls to json.dumps to allow storing in non standard ascii by yoavkatz in [PR 386](https://github.com/IBM/unitxt/pull/386)
* Improve API and coverage of CastFields and fix problem with casting list fields by dafnapension in [PR 372](https://github.com/IBM/unitxt/pull/372)
* Expand augment suffix to become augment prefix suffix by dafnapension in [PR 375](https://github.com/IBM/unitxt/pull/375)
* Generate error when there are circular references between from and to fields in FieldOperators by dafnapension in [PR 376](https://github.com/IBM/unitxt/pull/376)
* Llama fix by gitMichal in [PR 392](https://github.com/IBM/unitxt/pull/392)
* Improve and fix type utils by elronbandel in [PR 395](https://github.com/IBM/unitxt/pull/395)
* Deep copy at extract_field_values, in order to allow the same input m… by dafnapension in [PR 379](https://github.com/IBM/unitxt/pull/379)
* Cover and document recursive DivideAllFieldsBy, and also ApplyOperatorsField by dafnapension in [PR 397](https://github.com/IBM/unitxt/pull/397)
* Not exposing types dictionary. Back to backward compatibility by dafnapension

1.2.0

New Features and Enhancements:

- **Cache Usage Optimization**: Optimized cache usage with a new default setting to enhance performance by not storing intermediate results in HuggingFace cache (elronbandel) - [PR 360](https://github.com/IBM/unitxt/pull/360).

Fixes

- **Fixed bug in Mapping Full List in MapInstanceValues**: MapInstanceValues did not correctly map lists (yoavkatz) - [PR 367](https://github.com/IBM/unitxt/pull/367).

Improvements

- **Update Logging**: Unitxt now uses standard logger for better clarity and troubleshooting (elronbandel) - [PR 363](https://github.com/IBM/unitxt/pull/363).

- **Better error checking in FilterByListsOfValues Operator**: FilterByListsOfValues now throws and error when filtering all elements of a list, unless explicitly requested otherwise (elronbandel) - [PR 362](https://github.com/IBM/unitxt/pull/362).

- **Templates Converted to Operators**: Transformed templates into operators for improved functionality and integration (elronbandel) - [PR 357](https://github.com/IBM/unitxt/pull/357).


Documentation and Code Coverage:
- **Expand Code Coverage and Documentation**: Improved documentations and test coverages of operators (dafnapension) - [PR 361](https://github.com/IBM/unitxt/pull/361) [PR #366](https://github.com/IBM/unitxt/pull/366), [PR #370](https://github.com/IBM/unitxt/pull/370), [PR #371](https://github.com/IBM/unitxt/pull/371).

For more detailed information, please refer to the linked pull requests in our repository.

What's Changed
* ethos and post processors by naamaz in https://github.com/IBM/unitxt/pull/358
* Improve filtering operator by elronbandel in https://github.com/IBM/unitxt/pull/362
* Update logging by elronbandel in https://github.com/IBM/unitxt/pull/363
* first draft for expand code coverage and documentation by dafnapension in https://github.com/IBM/unitxt/pull/361
* Add support for mapping full list in MapInstanceValues by yoavkatz in https://github.com/IBM/unitxt/pull/367
* Allow using cache set default to not by elronbandel in https://github.com/IBM/unitxt/pull/360
* Expand code coverage and document operators by dafnapension in https://github.com/IBM/unitxt/pull/366
* cover additional operators by dafnapension in https://github.com/IBM/unitxt/pull/370
* cover take by dafnapension in https://github.com/IBM/unitxt/pull/371
* Turn templates to operators by elronbandel in https://github.com/IBM/unitxt/pull/357
* Update README.md by elronbandel in https://github.com/IBM/unitxt/pull/368


**Full Changelog**: https://github.com/IBM/unitxt/compare/1.1.4...1.2.0

1.0.0

**Full Changelog**: https://github.com/IBM/unitxt/commits/1.0.0

Page 10 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.