|
Download README.md from nyanko7/coco-hosted: direct link, hf CLI and curl.
- Browser
- Download file 692 Bytes
-
https://huggingface.co/datasets/nyanko7/coco-hosted/resolve/main/README.md
- Command line
-
hf download hf://datasets/nyanko7/coco-hosted/README.md
-
curl -L -o README.md https://huggingface.co/datasets/nyanko7/coco-hosted/resolve/main/README.md
692 Bytes
| license: openrail | |
| Usage: | |
| ``` | |
| from datasets import load_dataset | |
| coco_dataset = load_dataset("nyanko7/coco-hosted") | |
| ``` | |
| Each instance has the following structure: | |
| ``` | |
| { | |
| 'image': <PIL.JpegImagePlugin.JpegImageFile>, | |
| 'filepath': 'COCO_val2014_000000522418.jpg', | |
| 'sentids': [681330, 686718, 688839, 693159, 693204], | |
| 'filename': 'COCO_val2014_000000522418.jpg', | |
| 'imgid': 1, | |
| 'split': 'restval', | |
| 'sentences': { | |
| 'tokens': ['a', 'woman', 'wearing', 'a', 'net', 'on', 'her', 'head', 'cutting', 'a', 'cake'], | |
| 'raw': 'A woman wearing a net on her head cutting a cake. ', | |
| 'imgid': 1, | |
| 'sentid': 681330 | |
| }, | |
| 'cocoid': 522418 | |
| } | |
| ``` |