Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
basic cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hk21702 committed Apr 10, 2024
1 parent e1a8034 commit 2cbb238
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions training_loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ def train(args: argparse.Namespace):
dataset,
tokenizer,
compute_metrics,
args.checkpoint_dir,
n_trials=10,
)

Expand Down Expand Up @@ -153,7 +152,6 @@ def hyperparameter_search(
dataset,
tokenizer,
compute_metrics,
checkpoint_dir: str,
n_trials: int = 10,
):
"""
Expand Down Expand Up @@ -217,7 +215,7 @@ def compute_metrics(p: EvalPrediction):
return result


# leaving this code here for now but we should remove it before final submission
# TODO: leaving this code here for now but we should remove it before final submission
def training_loop(
model,
dataset: pd.DataFrame,
Expand Down

0 comments on commit 2cbb238

Please sign in to comment.