SuperAPIAI Directory

data-prep-kit

github.com · AI developer platforms

Open-Source Toolkit for Efficient Unstructured Data Processing with Pre-built Modules and Local to Cluster Scalability.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Data-Prep-Kit is an open-source data preparation toolkit for LLM application developers, used to clean, transform, and enrich unstructured data for specific use cases to support LLM pretraining, fine-tuning, instruction tuning, or building RAG applications. It can scale from an ordinary notebook to data center scale, providing a set of modules/transforms for notebook-level to data center-level processing. The currently supported data modalities are natural language, code, and images. The modules are built on a general framework based on the Python and Ray runtimes for scaling data processing. The toolkit provides a framework for developing custom transforms and can handle Parquet files as well as ZIP, NDJSON, and JSONL formats. It provides examples showing how to deploy a single transform as a Python or Ray job to a Kubernetes cluster; when multiple transforms are deployed in sequence, a Tekton pipeline is used. The latest version is available on PyPi, supports Python 3.10, 3.11, 3.12, and 3.13, and the installation command is pip install data-prep-kit, which will install all available transforms. To get started quickly, you can use a Google Colab-friendly notebook to try a simple transform that extracts content from PDF files without any setup; the same notebook can also be downloaded and run locally without cloning the repository. After that, you can explore combining transforms into data preparation pipelines for end-to-end enterprise use cases such as fine-tuning models or building RAG applications. The toolkit also provides developer tutorials for contributing new transforms to the toolkit. Advanced users can refer to materials such as adding custom transforms, running transforms from the command line, and scaling and automation. All transforms include small sample data files for testing; advanced users can download real data files from HuggingFace for testing. The combination matrix of modules and supported runtimes can be viewed in the repository, and modules can be combined into data processing pipelines. DPK uses a unified logger, dpk, which can be configured by setting environment variables. Contributors are welcome to add new modules to extend to other data modalities, or to add runtime support for existing modules. Help and support are available through the discussion area. The project is hosted by the LF AI & Data Foundation and was initiated by the Data for AI Models team at IBM Research.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools