Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtering and sorting #3230

Merged
merged 21 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Auto-update of NLP template
  • Loading branch information
actions-user committed Nov 29, 2024
commit 2cf9e817dbb7b382967a9e43761cdad270890855
2 changes: 1 addition & 1 deletion examples/e2e_nlp/.copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: 2024.10.30
_commit: 2024.10.30-2-g1ae14e3
_src_path: gh:zenml-io/template-nlp
accelerator: cpu
cloud_of_choice: aws
Expand Down
5 changes: 3 additions & 2 deletions examples/e2e_nlp/steps/training/model_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from typing_extensions import Annotated
from utils.misc import compute_metrics

from zenml import ArtifactConfig, log_artifact_metadata, step
from zenml import ArtifactConfig, log_metadata, step
from zenml.client import Client
from zenml.integrations.mlflow.experiment_trackers import (
MLFlowExperimentTracker,
Expand Down Expand Up @@ -157,9 +157,10 @@ def model_trainer(
eval_results = trainer.evaluate(metric_key_prefix="")

# Log the evaluation results in model control plane
log_artifact_metadata(
log_metadata(
metadata={"metrics": eval_results},
artifact_name="model",
infer_artifact=True,
)
### YOUR CODE ENDS HERE ###

Expand Down