skillfed

unitxt

Load any mixture of text to text data in one line of code

unitxt v1.26.10 92.1K downloads/30d#13,476 on PyPI218
Permissive license Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for… (full text in the JSON record) Active released

What it is and what it does

Unitxt is a Python library designed for evaluating AI model performance in a unified, modular way. It provides a large catalog of pre-built benchmarks and datasets that can be loaded and formatted for any model, supporting text, tables, vision, speech, and code evaluation. The library works model-agnostically with HuggingFace, OpenAI, WatsonX, and custom inference engines, and emphasizes reproducibility through shareable, composable components.

You use Unitxt either through its command-line interface for quick benchmark runs or programmatically by loading datasets, defining tasks with metrics, and running inference and evaluation. It handles data preparation, formatting for chat APIs, and metric computation in one workflow, reducing the boilerplate needed to benchmark models at scale.

Use it for:

  • Evaluate a custom LLM against standard benchmarks like MMLU Pro or GPQA without writing dataset loaders
  • Run multi-task evaluation across different domains in a single command-line call
  • Load and format datasets in chat API format for any model without manual preprocessing
  • Build reproducible evaluation pipelines with modular, shareable task and template components
  • Compare model performance across text, code, and structured data tasks using unified metrics

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Unitxt provides a unified framework for evaluating AI model performance across text, tables, vision, speech, and code using a modular catalog of benchmarks and datasets.

Yes. Unitxt is actively maintained, has no known vulnerabilities, and offers low-friction installation. It solves a real problem—standardizing AI model evaluation across diverse data types and models—with a permissive license suitable for enterprise use. Install it if you need to benchmark models against established datasets or build reproducible evaluation workflows.

Install

unitxt on PyPI

pip

pip install unitxt

uv

uv add unitxt

poetry

poetry add unitxt

Installing unitxt

Before you install

Low friction installation with four runtime dependencies (datasets, evaluate, scipy, diskcache). Actively maintained with a recent release and no known vulnerabilities.

License in practice

Apache License 2.0 permits commercial use, modification, and distribution with attribution; suitable for enterprise adoption.

Quickstart

pip install unitxt

from unitxt import load_dataset

dataset = load_dataset(
    card="cards.gpqa.diamond",
    split="test",
    format="formats.chat_api",
)

Verify before relying

  • Whether the catalog contains thousands of datasets as implied by 'thousands of datasets' claim in description
  • Performance characteristics and memory footprint when evaluating large-scale benchmarks
  • Specific model provider integrations beyond HuggingFace, OpenAI, and WatsonX mentioned

Package facts

License Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for… (full text in the JSON record) (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 4 — datasets, evaluate, scipy, diskcache
Maintenance actively maintained — 79 days since the last release
Last repo commit
First released
Downloads 92,135/month — #13,476 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: unitxt-1.26.10-py3-none-any.whl

Operating System :: OS IndependentProgramming Language :: Python :: 3

Tags

AI model evaluation frameworkbenchmark dataset catalogtext-to-text data preparationLLM performance evaluationmulti-modal AI evaluationreproducible model testingenterprise AI benchmarking
model-evaluationbenchmarkingdataset-catalog

More Artificial Intelligence packages