File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 56
56
with :
57
57
stack-name : ${{ matrix.stack-name }}
58
58
python-version : ${{ matrix.python-version }}
59
- ref-zenml : ${{ inputs.ref-zenml || 'develop ' }}
59
+ ref-zenml : ${{ inputs.ref-zenml || 'feature/followup-run-metadata ' }}
60
60
ref-template : ${{ inputs.ref-template || github.ref }}
Original file line number Diff line number Diff line change 13
13
TrainingArguments ,
14
14
AutoModelForSequenceClassification ,
15
15
)
16
- from zenml import ArtifactConfig , log_artifact_metadata , step
16
+ from zenml import ArtifactConfig , log_metadata , step
17
17
from zenml .client import Client
18
18
from zenml .integrations .mlflow .experiment_trackers import MLFlowExperimentTracker
19
19
from zenml .logger import get_logger
@@ -135,9 +135,10 @@ def model_trainer(
135
135
eval_results = trainer .evaluate (metric_key_prefix = "" )
136
136
137
137
# Log the evaluation results in model control plane
138
- log_artifact_metadata (
138
+ log_metadata (
139
139
metadata = {"metrics" : eval_results },
140
140
artifact_name = "model" ,
141
+ infer_artifact = True ,
141
142
)
142
143
### YOUR CODE ENDS HERE ###
143
144
You can’t perform that action at this time.
0 commit comments