Skip to content

Commit

Permalink
fix: configs
Browse files Browse the repository at this point in the history
  • Loading branch information
bokajgd committed Aug 27, 2023
1 parent 2489b33 commit 80d1907
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class BestRun:


best_run = BestRun(
wandb_group="mangi-bouquets",
model="unprosecutingbrutishly",
wandb_group="physiurgic-letterleaf",
model="basidiosporeneathmost ",
pos_rate=0.05,
)
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ class BestRun:


PROJECT_MODEL_DIR = Path(
"E:\\shared_resources\\forced_admissions_inpatient\\pipeline_eval",
"E:\\shared_resources\\forced_admissions_inpatient\\full_model_with_sentence_transformers_and_tfidf\\pipeline_eval",
)
POS_RATE = 0.05


DEV_GROUP_NAME = "mangi-bouquets"
DEV_GROUP_NAME = "physiurgic-letterleaf"

DEVELOPMENT_GROUP = RunGroup(name=DEV_GROUP_NAME)

Expand All @@ -35,7 +35,7 @@ class BestRun:
EVAL_GROUP = RunGroup(name=EVAL_GROUP_NAME)
EVAL_RUN = Run(
group=EVAL_GROUP,
name="congreganistcarburating",
name="basidiosporeneathmost",
pos_rate=POS_RATE,
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
########################################
# UPDATE THESE TO SELECT MODEL OUTPUTS #
########################################
DEV_GROUP_NAME = "mangi-bouquets"
DEV_GROUP_NAME = "physiurgic-letterleaf"
DEVELOPMENT_GROUP = RunGroup(name=DEV_GROUP_NAME)
BEST_POS_RATE = 0.05
BEST_RUN_NAME = DEVELOPMENT_GROUP.get_best_runs_by_lookahead()[0, 2]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def _train_pipeline_on_test(pipeline_to_train: PipelineRun):
train_model(
cfg=cfg,
override_output_dir=override_dir,
)
)


def test_pipeline(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class RunGroup:
@property
def group_dir(self) -> Path:
return Path(
f"E:/shared_resources/forced_admissions_inpatient/pipeline_eval/{self.name}",
f"E:/shared_resources/forced_admissions_inpatient/full_model_with_sentence_transformers_and_tfidf/pipeline_eval/{self.name}",
)

@property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from psycop.common.model_training.config_schemas.conf_utils import FullConfigSchema
from psycop.common.model_training.training_output.dataclasses import EvalDataset

EVAL_ROOT = Path("E:/shared_resources/forced_admissions_inpatient/pipeline_eval")
EVAL_ROOT = Path("E:/shared_resources/forced_admissions_inpatient/full_model_with_sentence_transformers_and_tfidf/pipeline_eval")


def load_file_from_pkl(file_path: Path) -> Any:
Expand Down Expand Up @@ -47,7 +47,7 @@ class RunGroup:
@property
def group_dir(self) -> Path:
return Path(
f"E:/shared_resources/forced_admissions_inpatient/pipeline_eval/{self.name}",
f"E:/shared_resources/forced_admissions_inpatient/full_model_with_sentence_transformers_and_tfidf/pipeline_eval/{self.name}",
)

@property
Expand Down

0 comments on commit 80d1907

Please sign in to comment.