Spaces:
Running
Running
Breaking lines for visibility (#2)
Browse files- Breaking lines for visibility (1b4e01353b44253465155058517859fd7c445e59)
Co-authored-by: Aritra Roy Gosthipaty <[email protected]>
app/src/content/article.mdx
CHANGED
|
@@ -62,7 +62,11 @@ from datasets import load_dataset, get_dataset_config_names
|
|
| 62 |
|
| 63 |
# Get all subset names and load the first one
|
| 64 |
available_subsets = get_dataset_config_names('HuggingFaceM4/FineVision')
|
| 65 |
-
ds = load_dataset(
|
|
|
|
|
|
|
|
|
|
|
|
|
| 66 |
|
| 67 |
# Inspect the first sample
|
| 68 |
ds[0]
|
|
|
|
| 62 |
|
| 63 |
# Get all subset names and load the first one
|
| 64 |
available_subsets = get_dataset_config_names('HuggingFaceM4/FineVision')
|
| 65 |
+
ds = load_dataset(
|
| 66 |
+
'HuggingFaceM4/FineVision',
|
| 67 |
+
name=available_subsets[0],
|
| 68 |
+
split='train', streaming=True,
|
| 69 |
+
)
|
| 70 |
|
| 71 |
# Inspect the first sample
|
| 72 |
ds[0]
|