Create Dataset from HuggingFace
Create a new dataset by importing data from a HuggingFace dataset.
POST
https://api.futureagi.com/model-hub/develops/create-dataset-from-huggingface/ Authentication
Request body
huggingface_dataset_name
HuggingFace dataset path, e.g. squad or username/dataset-name.
huggingface_dataset_config
Dataset configuration or subset to import, e.g. plain_text.
huggingface_dataset_split
Data split to import. Common values: train, test, validation.
name
Name for the dataset. Defaults to the HuggingFace dataset name.
model_type
Model type classification for the dataset. Example: GenerativeLLM.
num_rows
Maximum number of rows to import. Defaults to all rows.
Response
200 OK message
Confirmation message.
dataset_id
UUID of the created dataset.
dataset_name
Name of the created dataset.
dataset_model_type
Model type assigned to the dataset.
Errors
400
Invalid request parameters.
401
Invalid or missing API credentials.
429
Resource limit reached.
500
Unexpected server error.