IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Working with Hugging Face

Visualizza il corso

Istruzioni dell'esercizio

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

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

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

# Display dataset details
print(my_dataset)
Modifica ed esegui il codice