Skip to content

Commit

Permalink
import
Browse files Browse the repository at this point in the history
  • Loading branch information
Alessandro Sordoni committed Aug 12, 2024
1 parent 245ac31 commit 83ceef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mttl/datamodule/mmlu_data_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ class MMLUDataModule(DataModule):

def test_dataloader(self, subsample=None, shuffle=False):
if subsample is not None and subsample > 0:
from mttl.datamodule import take_n_examples_per_task
from mttl.datamodule.base import take_n_examples_per_task

indices = take_n_examples_per_task(
list(self.test_dataset["Task"]),
Expand Down

0 comments on commit 83ceef2

Please sign in to comment.