Skip to content

Commit

Permalink
Benchmark small tweaks
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 80900bceef0034c7ce6bdb5965f48c21df0882f1
  • Loading branch information
mikeknep committed Sep 9, 2024
1 parent 01aae3c commit c6986dd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/gretel_trainer/benchmark/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
GretelGPTX,
GretelLSTM,
GretelModel,
GretelNavigatorFT,
)
from gretel_trainer.benchmark.log import set_log_level
2 changes: 1 addition & 1 deletion src/gretel_trainer/benchmark/entrypoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def _entrypoint(
def _verify_client_config(session: ClientConfig):
try:
current_user_email = session.email
logger.info(f"Using gretel client configured with {current_user_email}!r")
logger.info(f"Using gretel client configured with {current_user_email!r}")
except Exception as e:
raise BenchmarkException(
"Invalid gretel client configuration, please make sure to configure the "
Expand Down
2 changes: 2 additions & 0 deletions src/gretel_trainer/benchmark/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
"PCS": "principal_component_stability",
"FDS": "field_distribution_stability",
"PPL": "privacy_protection_level",
"AIA": "attribute_inference_attack_score",
"DPS": "data_privacy_score",
}

FutureKeyT = Union[str, RunKey]
Expand Down

0 comments on commit c6986dd

Please sign in to comment.