remote_formatter

Retrieve datasets from HuggingFace Hub and format them as JSONL.

541|171|Updated May 3, 2018
One-click install
npx skills add https://github.com/cas-bigdatalab/piflow --skill remote-formatter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: remote_formatter
Source: https://github.com/cas-bigdatalab/piflow/tree/main/workspace/skills/remote_formatter
Command: npx skills add https://github.com/cas-bigdatalab/piflow --skill remote-formatter

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of loading datasets from HuggingFace Hub, streamlining data preparation for analysis and model training.

Core Features & Use Cases

  • Dataset Loading: Automatically download and load datasets from HuggingFace Hub.
  • Data Formatting: Convert datasets into JSONL format for easy integration with other tools.
  • Use Case: For data scientists and AI engineers who need to quickly access and prepare datasets for machine learning tasks.

Quick Start

Load the 'rotten_tomatoes' dataset from HuggingFace Hub and format it as JSONL:

python scripts/run_remote_formatter.py --dataset_path "rotten_tomatoes" --output_path /path/to/output.jsonl

Frequently Asked Questions about remote_formatter

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

FAQPage Schema
How do I load datasets from HuggingFace Hub and convert them to JSONL?

To load datasets from HuggingFace Hub and convert them to JSONL, you can use the remote_formatter script to automatically download and format the data into JSONL for machine learning workflows.

What is the best way to automate data preprocessing for HuggingFace datasets?

Automating data preprocessing for HuggingFace datasets involves retrieving the dataset and formatting it. This Skill handles the retrieval and JSONL formatting automatically, streamlining data preparation for analysis and model training.

Do I need to install data_juicer to format HuggingFace datasets as JSONL?

Yes, you need to install the data_juicer library and set up a Python environment. This dependency is required to run the remote_formatter script and load datasets from HuggingFace Hub.

Can I load private datasets from HuggingFace Hub using this formatter?

Yes, you can load private datasets from HuggingFace Hub. The remote_formatter supports retrieving both public and private datasets and automates their conversion into JSONL format.

What is the command to download a HuggingFace dataset and format it as JSONL?

To download a HuggingFace dataset and format it as JSONL, run the Python script with arguments specifying the dataset path and output path, such as passing the dataset name and the target JSONL file location.