speed commited on
Commit
1bc0106
·
verified ·
1 Parent(s): 156dcd0

Update README.md

Browse files

Fix a typo and add a missing import statement. Thank you for providing this great dataset!

Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -6918,11 +6918,11 @@ More detail can be found in the blog post: https://huggingface.co/spaces/Hugging
6918
 
6919
  ### Load the data
6920
  ```python
6921
- from datasets import load_dataset
6922
 
6923
  # Get all subset names and load the first one
6924
  available_subsets = get_dataset_config_names('HuggingFaceM4/FineVision')
6925
- ds = load_dataset('HuggingFaceM4/FineVision', name=availible_subsets[0], split='train', streaming=True)
6926
 
6927
  # Inspect the first sample
6928
  ds[0]
 
6918
 
6919
  ### Load the data
6920
  ```python
6921
+ from datasets import load_dataset, get_dataset_config_names
6922
 
6923
  # Get all subset names and load the first one
6924
  available_subsets = get_dataset_config_names('HuggingFaceM4/FineVision')
6925
+ ds = load_dataset('HuggingFaceM4/FineVision', name=available_subsets[0], split='train', streaming=True)
6926
 
6927
  # Inspect the first sample
6928
  ds[0]