hugging-face-dataset-creator

Automate Hugging Face dataset creation and JSONL row streaming.

2|2|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/patronus-ai/skill-inject --skill hugging-face-dataset-creator-patronus-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hugging-face-dataset-creator
Source: https://github.com/patronus-ai/skill-inject/tree/main/data/skills/hf_dataset_creator
Command: npx skills add https://github.com/patronus-ai/skill-inject --skill hugging-face-dataset-creator-patronus-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires huggingface_hub, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

It removes the manual overhead of creating and maintaining Hugging Face datasets by providing a structured way to initialize dataset repos, set dataset configuration/system prompts, and incrementally stream new training rows.

Core Features & Use Cases

  • Dataset lifecycle management: initialize new dataset repositories, upload configuration, and maintain dataset-level settings.
  • Template-driven dataset generation: produce validated dataset rows across chat, classification, QA, completion, and tabular formats.
  • Efficient incremental updates: stream JSONL row chunks into the dataset without downloading the full dataset.

Quick Start

Ask the assistant to initialize a private dataset repo on Hugging Face for a classification template and stream the first batch of validated rows.

Frequently Asked Questions about hugging-face-dataset-creator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate streaming JSONL row updates to a Hugging Face dataset?

To stream JSONL row updates to a Hugging Face dataset, you can use a template-driven approach that validates rows locally and incrementally streams newline-delimited chunks without downloading the full dataset. This requires an HF_TOKEN with write access.

Can I use templates to validate different machine learning dataset formats for Hugging Face?

Yes, you can validate machine learning dataset formats using local JSON template files. The system supports schema validation for multiple formats including chat, classification, QA, completion, and tabular datasets before uploading to Hugging Face.

What do I need to initialize a new Hugging Face dataset repository programmatically?

To initialize a new Hugging Face dataset repository, you need the huggingface_hub library, local JSON template files, and an HF_TOKEN with write access. The process automates repository creation, uploads dataset configuration, and sets system prompts.

What is the best way to manage the lifecycle of a Hugging Face dataset?

The best way to manage a Hugging Face dataset lifecycle is automating repository initialization, uploading configuration files, and streaming incremental JSONL row updates. This removes manual overhead by maintaining dataset-level settings through structured template validation.

Does streaming new training rows to Hugging Face require downloading the entire dataset?

No, streaming new training rows to Hugging Face does not require downloading the entire dataset. The system efficiently streams JSONL row chunks directly into the repository, allowing incremental updates without the overhead of full dataset downloads.

When should I use template-based schema validation for creating Hugging Face datasets?

You should use template-based schema validation when creating Hugging Face datasets to ensure row reliability across formats like chat, classification, and QA. It prevents invalid data uploads by validating rows against local JSON templates before streaming.