Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
chore: update stubs and commons (#693)
Browse files Browse the repository at this point in the history
* chore: update stubs and commons

* chore: update version

* fix: fix failing test
  • Loading branch information
LMMilliken authored Mar 16, 2023
1 parent 16ae4ff commit 9ef750b
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
1 change: 1 addition & 0 deletions finetuner/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/test_experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
DATA,
EPOCHS,
EVAL_DATA,
EVALUATE,
EXPERIMENT_NAME,
FAILED,
FINISHED,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 9ef750b

Please sign in to comment.