Skip to main content

A pragmatic AI-powered data labeling library.

Project description

Auto-Labeler

An AI-powered data labeling library for Python.

Key Features

  • 🔍 Discovery: Automatically suggest labels/taxonomy using Iterative or Embedding-based discovery.
  • 🏷️ Assignment: Labels your dataset using LLMs (Gemini, OpenAI, Anthropic, etc.).
  • ⚡ Batching & Async: High-throughput processing for large datasets.
  • 💾 Disk Caching: Save costs and time with local persistence.
  • 💰 cost Tracking: Real-time USD cost estimation for every run.
  • 🛡️ Validation: Pydantic-powered fail-fast checks for your data.

Installation

pip install auto-labeler-ai

Quick Start

from auto_labeler import AutoLabeler
import pandas as pd

labeler = AutoLabeler(model_name="gemini/gemini-2.5-flash")
results = labeler.label_dataset(
    pd.read_csv("data.csv"),
    labels=["Urgent", "Billing", "General"],
    context="Customer support tickets"
)
print(results[["text", "label"]])  # output column is always 'label'
print(labeler.get_usage())

Documentation

For full guides on Advanced discovery, Caching, and API reference, visit our: 👉 Documentation Site

Testing

pytest

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

auto_labeler_ai-0.1.2.tar.gz (28.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

auto_labeler_ai-0.1.2-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

Details for the file auto_labeler_ai-0.1.2.tar.gz.

File metadata

  • Download URL: auto_labeler_ai-0.1.2.tar.gz
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for auto_labeler_ai-0.1.2.tar.gz
Algorithm Hash digest
SHA256 08500a559b56a4c6a96c6ca4eaa2f809ebe792da910ee469ca87ef881425ea28
MD5 31c2635a4c309fc3a86eb949d3ab331c
BLAKE2b-256 483de6daf23045b1ec7a314db34e02214adebd8a429ac0ac7fd2b872f0400782

See more details on using hashes here.

File details

Details for the file auto_labeler_ai-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for auto_labeler_ai-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dff2d4f4420d37adaec9e94af9cc94ec4b7e90f2b85d6ed54d9f4b12f13dcfd0
MD5 93efaa86a5b968dfd4d7db2f99bf96b8
BLAKE2b-256 151c54737618b0df0a874c6b94a199123f185b764ecb83b5738c96b5c6b2dfcb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page