Start by loading the IMDb dataset from the Datasets library
from datasets import load_dataset
imdb = load_dataset("imdb")
from datasets import load_dataset
# Load the Falah/Alzheimer_MRI dataset
dataset = load_dataset('Falah/Alzheimer_MRI', split='train')
# Print the number of examples and the first few samples
print("Number of examples:", len(dataset))
print("Sample data:")
for example in dataset[:5]:
print(example)