Skip to content

Commit

Permalink
Setup logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jshuadvd committed Jul 6, 2024
1 parent 1400108 commit 3fc24d5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3fc24d5

Please sign in to comment.