Skip to content

Commit

Permalink
use 'subset' instead of 'config' + add details
Browse files Browse the repository at this point in the history
  • Loading branch information
severo committed Aug 9, 2024
1 parent 05b6515 commit 61d41b3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/hub/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,12 @@ This is equivalent to `huggingface_hub.dataset_info(repo_id, revision)`.

Get the list of auto-converted parquet files.

### GET /api/datasets/{repo_id}/parquet/{config}/{split}/{n}.parquet
Append the subset and the split to the URL to get the list of files for a specific subset and split:

- `GET /api/datasets/{repo_id}/parquet/{subset}`
- `GET /api/datasets/{repo_id}/parquet/{subset}/{split}`

### GET /api/datasets/{repo_id}/parquet/{subset}/{split}/{n}.parquet

Get the nth shard of the auto-converted parquet files, for a specific subset (also called "config") and split.

Expand Down

0 comments on commit 61d41b3

Please sign in to comment.