APIs / Hugging Face / Dataset
Hugging Face: Dataset
One dataset's details: description, license, tasks, languages, size category, downloads and files.
GET /v1/huggingface/dataset
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
id | string | Required | Up to 200 characters Dataset id, owner/name, for example rajpurkar/squad. |
Example request
Hugging Face
GET/v1/huggingface/dataset?id=rajpurkar%2Fsquad
{
"success": true,
"data": {
"id": "rajpurkar/squad",
"author": "rajpurkar",
"description": "Dataset Card for SQuAD Dataset Summary Stanford Question Answering Dataset (SQuAD) is a reading comprehension dataset, consisting of questions posed by crowdworkers on a set of Wikipedia articles, where the answer to every question is a seg…",
"downloads": 169573,
"likes": 892,
"gated": false,
"tags": [
"task_categories:question-answering",
"task_ids:extractive-qa",
"annotations_creators:crowdsourced"
],
"created_at": "2022-03-02T23:29:22.000Z",
"last_modified": "2024-03-04T13:54:37.000Z",
"url": "https://huggingface.co/datasets/rajpurkar/squad",
"pretty_name": "SQuAD",
"license": "cc-by-sa-4.0",
"task_categories": [
"question-answering"
],
"languages": [
"en"
],
"size_categories": [
"10K<n<100K"
],
"paperswithcode_id": "squad",
"storage_bytes": 16279705,
"file_count": 4,
"files": [
".gitattributes",
"README.md",
"plain_text/train-00000-of-00001.parquet"
]
},
"meta": {
"request_id": "req_27512ad0887e4ca1a9060eb0e59baef8",
"credits_charged": 1,
"credits_remaining": 1979
}
}200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
data has these 19 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
id | string |
author | string |
description | string |
downloads | integer |
likes | integer |
gated | boolean |
tags | string[] |
created_at | string |
last_modified | string |
url | url |
pretty_name | string |
license | string |
task_categories | string[] |
languages | string[] |
size_categories | string[] |
paperswithcode_id | string |
storage_bytes | integer |
file_count | integer |
files | string[] |