diff --git a/train.py b/train.py index e73c352..101df4b 100644 --- a/train.py +++ b/train.py @@ -16,9 +16,16 @@ from accelerate import Accelerator import wandb import os +import logging from evaluation import evaluate_passkey_retrieval +# Set up logging +logging.basicConfig( + level=logging.INFO, format="%(asctime)s - %(levelname)s - %(message)s" +) +logger = logging.getLogger(__name__) + reload(src.main) # Initialize the accelerator