Skip to content

Commit

Permalink
Bump aim version.
Browse files Browse the repository at this point in the history
Fix duplicate argument

Signed-off-by: Dushyant Behl <[email protected]>
  • Loading branch information
dushyantbehl committed Feb 20, 2024
1 parent e2a2e98 commit 2d5ffa5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ numpy
accelerate>=0.20.3
transformers>=4.34.1
torch
aim==3.17.5
aim==3.18.1
sentencepiece
tokenizers>=0.13.3
tqdm
Expand Down
4 changes: 2 additions & 2 deletions tuning/config/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class TrainingArguments(transformers.TrainingArguments):
default=False,
metadata={"help": "Packing to be enabled in SFT Trainer, default is False"},
)
tracker: str = field(
tracker: str.lower = field(
default="aim",
metadata={"help", "Default experiment tracker to integrate with. requires additional configs. see tuning.configs/tracker_configs.py"}
metadata={"help": "Default experiment tracker to integrate with. requires additional configs. see tuning.configs/tracker_configs.py"}
)
6 changes: 0 additions & 6 deletions tuning/sft_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,6 @@ def main(**kwargs):
choices=["pt", "lora", None, "none"],
default="pt",
)
parser.add_argument(
"--tracker",
type=str.lower,
choices=['aim', None, 'none'],
default="aim"
)
(
model_args,
data_args,
Expand Down

0 comments on commit 2d5ffa5

Please sign in to comment.