Question 8
Consider two datasets namely "ds1" and "ds2" . The structure of the dataset with the number of samples in each split is given below. Suppose we create a new dataset in the following ways. Assume necessary
DatasetDict({ train: Dataset({ features: ['text', 'label'], num_rows: 25000 }) test: Dataset({ features: ['text', 'label'], num_rows: 25000 }) unsupervised: Dataset({ features: ['text', 'label'], num_rows: 50000 })})ds1
DatasetDict({ train: Dataset({ features: ['text', 'label'], num_rows: 8530 }) test: Dataset({ features: ['text', 'label'], num_rows: 1066 }) unsupervised: Dataset({ features: ['text', 'label'], num_rows: 1066 })})ds2
imports and the statements are executed independently (i.e., an error in executing a statement does not affect the execution of other statements). Select all the correct statements.
ds3 = datasets.concatenate_datasets([ds1,ds2])ds4 = datasets.concatenate_datasets([ds1['train'],ds2['train']])ds5 = datasets.concatenate_datasets([ds1['train'],ds2['test']])ds6 = datasets.concatenate_datasets( [ds1['train'],ds1['test'], ds2['train'],ds2['validation']])