The sample code doesn't work; requires change

#2
by upendrasharma - opened

it threw an exception in my notebook saying I should accept to trust the code executing remotely. The following worked for me

from datasets import load_dataset
# Extract 1 millions records
lang = 'en'
data = load_dataset(f"Cohere/wikipedia-22-12", lang, split='train', streaming=True, trust_remote_code=True)

Sign up or log in to comment