Aan de slagGa gratis aan de slag

Loading datasets

After you've chosen your dataset, it's time to load it with the datasets library!

In this case, you'll load the "validation" split of the "TIGER-Lab/MMLU-Pro" dataset, which is a benchmark evaluation dataset.

The load_dataset module from the datasets package is already loaded for you.

Deze oefening maakt deel uit van de cursus

Working with Hugging Face

Cursus bekijken

Oefeninstructies

  • Use the correct function to load the "TIGER-Lab/MMLU-Pro" dataset and specify the "validation" split.

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Load the "validation" split of the TIGER-Lab/MMLU-Pro dataset
my_dataset = ____("____", split="____")

# Display dataset details
print(my_dataset)
Code bewerken en uitvoeren