Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
saattrupdan committed Sep 27, 2024
1 parent 4e30fc7 commit 1202776
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/coral/finetune.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ def finetune(config: DictConfig) -> None:
if "val" not in dataset and is_main_process:
logger.info("No validation set found. Disabling early stopping.")

breakpoint()

trainer = model_setup.load_trainer_class()(
model=model,
data_collator=model_setup.load_data_collator(),
Expand All @@ -63,7 +65,6 @@ def finetune(config: DictConfig) -> None:

# if hasattr(config.model, "use_decoder") and config.model.use_decoder:
# train_and_store_ngram_model(config=config)
breakpoint()

if config.push_to_hub:
push_model_to_hub(
Expand Down

0 comments on commit 1202776

Please sign in to comment.