Skip to main content
HoneyHive supports flexible dataset schemas, making it easy to import datasets from Hugging Face or any other data source.

Prerequisites


Import a Dataset

1

Install dependencies

2

Load and import

Python

Field Mapping

Use DatapointMapping to map HuggingFace dataset columns to HoneyHive datapoint fields: Any columns not listed in the mapping are automatically stored as metadata.

Example: Q&A Dataset

Python

Example: Classification Dataset

Python

Best Practices

Batch imports: For large datasets (1000+ rows), use the batching pattern from the main example above — split your data into chunks of 100 rows per add_datapoints call to avoid timeouts.

Next Steps

Run Experiments

Evaluate your application using the imported dataset

Export Datasets

Export datasets for external use