Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
severo committed Aug 21, 2024
1 parent 8bed007 commit 887d9d5
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 29 deletions.
6 changes: 3 additions & 3 deletions docs/source/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -5288,7 +5288,7 @@
"examples": {
"number of URLS for a dataset": {
"summary": "number of URLs for a dataset.",
"description": "Try with https://datasets-server.huggingface.co/opt-in-out-urls?dataset=conceptual_captions",
"description": "Try with https://datasets-server.huggingface.co/opt-in-out-urls?dataset=google-research-datasets/conceptual_captions",
"value": {
"urls_columns": ["image_url"],
"has_urls_columns": true,
Expand All @@ -5301,7 +5301,7 @@
},
"number of URLS for a subset": {
"summary": "number of URLs for a subset.",
"description": "Try with https://datasets-server.huggingface.co/opt-in-out-urls?dataset=conceptual_captions&config=labeled",
"description": "Try with https://datasets-server.huggingface.co/opt-in-out-urls?dataset=google-research-datasets/conceptual_captions&config=labeled",
"value": {
"urls_columns": ["image_url"],
"has_urls_columns": true,
Expand All @@ -5314,7 +5314,7 @@
},
"number of URLS for a split": {
"summary": "number of URLs for a split.",
"description": "Try with https://datasets-server.huggingface.co/opt-in-out-urls?dataset=conceptual_captions&config=labeled&split=train",
"description": "Try with https://datasets-server.huggingface.co/opt-in-out-urls?dataset=google-research-datasets/conceptual_captions&config=labeled&split=train",
"value": {
"has_urls_columns": true,
"num_opt_in_urls": 0,
Expand Down
6 changes: 3 additions & 3 deletions docs/source/rows.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ Images are represented as a JSON object with three fields:
- `height`: height (in pixels) of the image
- `width`: width (in pixels) of the image

Here is an example of image, from the first row of the cifar100 dataset:
Here is an example of image, from the first row of the uoft-cs/cifar100 dataset:

```json
// https://datasets-server.huggingface.co/rows?dataset=cifar100&config=cifar100&split=train&offset=0&length=1
// https://datasets-server.huggingface.co/rows?dataset=uoft-cs/cifar100&config=cifar100&split=train&offset=0&length=1
{
"features": [
{ "feature_idx": 0, "name": "img", "type": { "_type": "Image" } },
Expand All @@ -177,7 +177,7 @@ Here is an example of image, from the first row of the cifar100 dataset:
"row_idx": 0,
"row": {
"img": {
"src": "https://datasets-server.huggingface.co/cached-assets/cifar100/--/aadb3af77e9048adbea6b47c21a81e47dd092ae5/--/cifar100/train/0/img/image.jpg?Expires=1710283469&Signature=A1v0cG07nuaBxYbuPR5EUZpJ9Se072SBDr4935gEsOESHGVyeqvd3qmvdsy1fuqbHk0dnx~p6MLtQ-hg3aCBOJ8eIJ5ItIoyYT4riJRuPQC0VFUb~b1maEwU8LRoXXuvrSysSz2QhBbC~ofv6cQudm~~bgGxXWAslDs180KnmPDsMU55ySsKyKQYNEkQKyuYvrGIJbFeg4lEps0f5CEwUstAwRAwlk~mzRpzUDBq7nJ~DcujTlllLv36nJX~too8mMnFn6dCn2nfGOFYwUiyYM73Czv-laLhVaIVUzcuJum90No~KNGzfYeFZpPqktA7MjCzRLf1gz5kA7wBqnY-8Q__&Key-Pair-Id=K3EI6M078Z3AC3",
"src": "https://datasets-server.huggingface.co/cached-assets/uoft-cs/cifar100/--/aadb3af77e9048adbea6b47c21a81e47dd092ae5/--/cifar100/train/0/img/image.jpg?Expires=1710283469&Signature=A1v0cG07nuaBxYbuPR5EUZpJ9Se072SBDr4935gEsOESHGVyeqvd3qmvdsy1fuqbHk0dnx~p6MLtQ-hg3aCBOJ8eIJ5ItIoyYT4riJRuPQC0VFUb~b1maEwU8LRoXXuvrSysSz2QhBbC~ofv6cQudm~~bgGxXWAslDs180KnmPDsMU55ySsKyKQYNEkQKyuYvrGIJbFeg4lEps0f5CEwUstAwRAwlk~mzRpzUDBq7nJ~DcujTlllLv36nJX~too8mMnFn6dCn2nfGOFYwUiyYM73Czv-laLhVaIVUzcuJum90No~KNGzfYeFZpPqktA7MjCzRLf1gz5kA7wBqnY-8Q__&Key-Pair-Id=K3EI6M078Z3AC3",
"height": 32,
"width": 32
},
Expand Down
Loading

0 comments on commit 887d9d5

Please sign in to comment.