update paths to biglam/newspaper-navigator
Browse files
README.md
CHANGED
|
@@ -325,7 +325,7 @@ from datasets import load_dataset
|
|
| 325 |
|
| 326 |
# Load a specific configuration (e.g., photos)
|
| 327 |
|
| 328 |
-
photos_dataset = load_dataset("
|
| 329 |
|
| 330 |
# View the first example
|
| 331 |
|
|
@@ -337,7 +337,7 @@ print(f"OCR text: {example['ocr']}")
|
|
| 337 |
# Load multiple configurations
|
| 338 |
|
| 339 |
configs = ["photos", "cartoons", "maps"]
|
| 340 |
-
datasets = {config: load_dataset("
|
| 341 |
|
| 342 |
# Filter by date range (e.g., World War II era)
|
| 343 |
|
|
|
|
| 325 |
|
| 326 |
# Load a specific configuration (e.g., photos)
|
| 327 |
|
| 328 |
+
photos_dataset = load_dataset("biglam/newspaper-navigator", "photos")
|
| 329 |
|
| 330 |
# View the first example
|
| 331 |
|
|
|
|
| 337 |
# Load multiple configurations
|
| 338 |
|
| 339 |
configs = ["photos", "cartoons", "maps"]
|
| 340 |
+
datasets = {config: load_dataset("biglam/newspaper-navigator", config) for config in configs}
|
| 341 |
|
| 342 |
# Filter by date range (e.g., World War II era)
|
| 343 |
|