Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions mteb/tasks/pair_classification/eng/pub_chem_smilespc.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from typing import Any

import datasets

from mteb.abstasks.pair_classification import AbsTaskPairClassification
Expand Down Expand Up @@ -74,8 +76,7 @@ class PubChemSMILESPC(AbsTaskPairClassification):
""",
)

def load_data(self):
"""Load dataset from HuggingFace hub"""
def load_data(self, num_proc: int = 1, **kwargs: Any) -> None:
if self.data_loaded:
return

Expand Down