Skip to content

Commit

Permalink
fix: remove fire.fire(main), replace with main()
Browse files Browse the repository at this point in the history
Signed-off-by: Will Johnson <[email protected]>
  • Loading branch information
willmj committed Aug 30, 2024
1 parent 474e539 commit 7e80863
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tuning/sft_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
)
from transformers.utils import is_accelerate_available
from trl import SFTConfig, SFTTrainer
import fire
import transformers

# Local
Expand Down Expand Up @@ -629,4 +628,4 @@ def main(**kwargs): # pylint: disable=unused-argument


if __name__ == "__main__":
fire.Fire(main)
main()

0 comments on commit 7e80863

Please sign in to comment.