MulaiMulai sekarang secara 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.

Latihan ini adalah bagian dari kursus

Working with Hugging Face

Lihat Kursus

Petunjuk latihan

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

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

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

# Display dataset details
print(my_dataset)
Edit dan Jalankan Kode