CShani commited on
Commit
99f1715
·
verified ·
1 Parent(s): 2782f28

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -64,10 +64,10 @@ Each row in the dataset corresponds to an item (e.g., “robin”, “sofa”) a
64
  from datasets import load_dataset
65
 
66
  # Load all splits
67
- ds = load_dataset("CShani/human-concepts")
68
 
69
  # Load a specific sub-dataset
70
- rosch75 = ds["rosch1975"]
71
  ```
72
 
73
  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
64
  from datasets import load_dataset
65
 
66
  # Load all splits
67
+ ds = load_dataset("CShani/human-concepts")['train']
68
 
69
  # Load a specific sub-dataset
70
+ rosch75 = ds.filter(lambda x: x['subdataset'] == 'Rosch1975')
71
  ```
72
 
73
  -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------