Skip to content

Commit

Permalink
Set ER name
Browse files Browse the repository at this point in the history
  • Loading branch information
liuverta committed Sep 19, 2023
1 parent d83ef0d commit 5a40e49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/verta/verta/finetune/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from ._lora_config import LoraConfig


_PROJECT_NAME_SUFFIX = " Fine-Tuning" # append to registered model name
_TRACKING_NAME_SUFFIX = " Fine-Tuning" # append to RM and RMV names for project and run
_EXPERIMENT_NAME = "Fine-Tuning"
_TRAIN_DATASET_NAME = "train"
_EVAL_DATASET_NAME = "eval"
Expand Down
4 changes: 3 additions & 1 deletion client/verta/verta/registry/entities/_modelversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -1839,7 +1839,7 @@ def finetune(
self._conf,
ctx,
name=destination_registered_model.name
+ verta.finetune._PROJECT_NAME_SUFFIX,
+ verta.finetune._TRACKING_NAME_SUFFIX,
)
ctx.expt = Client._get_or_create_experiment(
self._conn,
Expand All @@ -1851,6 +1851,8 @@ def finetune(
self._conn,
self._conf,
ctx,
# TODO: make this match the RMV when `name` is None
name=name + verta.finetune._TRACKING_NAME_SUFFIX if name else None,
attrs={verta.finetune._FINETUNE_ATTR_KEY: True},
)

Expand Down

2 comments on commit 5a40e49

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docker Tag: liu_finetune-2023-09-19T16-48-03--5a40e49

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Total coverage (common): 15.09
Total coverage (server): 61.32

Changed Files coverage (common): coverage 100
Changed Files coverage (server): 100

Please sign in to comment.