Skip to content

Commit

Permalink
push
Browse files Browse the repository at this point in the history
  • Loading branch information
msaroufim committed Dec 5, 2024
1 parent 65348c6 commit 4ea6bff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions torchtitan/datasets/hf_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
from typing import Any, Callable, Dict, List, Optional

import torch

from datasets import Dataset, load_dataset
from datasets.distributed import split_dataset_by_node
from torch.distributed.checkpoint.stateful import Stateful
from torch.utils.data import IterableDataset
from torchdata.stateful_dataloader import StatefulDataLoader

from torchtitan.datasets.tokenizer import Tokenizer
from torchtitan.logging import logger

from datasets import Dataset, load_dataset
from datasets.distributed import split_dataset_by_node


def _load_c4_dataset(dataset_path: str):
"""Load C4 dataset with default configuration."""
Expand Down

0 comments on commit 4ea6bff

Please sign in to comment.