diff --git a/CHANGELOG.md b/CHANGELOG.md index 640b4c925..d8874b2ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +### Removed + +### Changed + +### Fixed + +### Docs + + +## [0.7.3] - 2023-03-16 + +### Added + - Add support for batch size scaling. ([#691](https://github.com/jina-ai/finetuner/pull/691)) - Add functions to retrieve evaluation metrics and example results. ([#687](https://github.com/jina-ai/finetuner/pull/687)) diff --git a/finetuner/constants.py b/finetuner/constants.py index 7afab9f35..331dcf44a 100644 --- a/finetuner/constants.py +++ b/finetuner/constants.py @@ -33,6 +33,7 @@ TRAIN_DATA = 'train_data' EVAL_DATA = 'eval_data' VAL_SPLIT = 'val_split' +EVALUATE = 'evaluate' ARTIFACTS_DIR = 'artifacts/' MODEL = 'model' MODEL_OPTIONS = 'model_options' diff --git a/setup.cfg b/setup.cfg index a29cae19f..e278243a0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [metadata] -version = 0.7.2 +version = 0.7.3 [flake8] # E501 is too long lines - ignore as black takes care of that diff --git a/setup.py b/setup.py index 79506eb57..62a67892f 100644 --- a/setup.py +++ b/setup.py @@ -29,12 +29,12 @@ install_requires=[ 'docarray[common]>=0.21.0', 'trimesh==3.16.4', - 'finetuner-stubs==0.12.7', + 'finetuner-stubs==0.12.9', 'jina-hubble-sdk==0.33.1', ], extras_require={ 'full': [ - 'finetuner-commons==0.12.7', + 'finetuner-commons==0.12.9', ], 'test': [ 'black==22.3.0', diff --git a/tests/unit/test_experiment.py b/tests/unit/test_experiment.py index 47250a28d..5271a6847 100644 --- a/tests/unit/test_experiment.py +++ b/tests/unit/test_experiment.py @@ -11,6 +11,7 @@ DATA, EPOCHS, EVAL_DATA, + EVALUATE, EXPERIMENT_NAME, FAILED, FINISHED, @@ -111,6 +112,7 @@ def test_create_run_config(): DATA: { TRAIN_DATA: 'train_data', EVAL_DATA: 'eval_data', + EVALUATE: False, NUM_WORKERS: 8, NUM_ITEMS_PER_CLASS: 4, VAL_SPLIT: 0.0,