Skip to content

Commit

Permalink
datasets too
Browse files Browse the repository at this point in the history
  • Loading branch information
dakinggg committed Nov 9, 2023
1 parent eeadca3 commit 242bbe4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/train/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from typing import Any, Dict, List, Optional, Union

import torch
import datasets as hf_datasets
from composer import Trainer
from composer.core import Evaluator
from composer.core.callback import Callback
Expand Down Expand Up @@ -39,6 +40,7 @@

transformers_logging.enable_default_handler()
transformers_logging.disable_progress_bar()
hf_datasets.logging.disable_progress_bar()

def validate_config(cfg: DictConfig):
"""Validates compatible model and dataloader selection."""
Expand Down

0 comments on commit 242bbe4

Please sign in to comment.