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-flash-latest")
results = labeler.label_dataset(
    pd.read_csv("data.csv"),
    labels=["Urgent", "Billing", "General"],
    context="Customer support tickets"
)
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.1.tar.gz (32.8 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.1-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: auto_labeler_ai-0.1.1.tar.gz
  • Upload date:
  • Size: 32.8 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.1.tar.gz
Algorithm Hash digest
SHA256 d6a06d7081722c3591ae139dea8df41edc10b042dae0180fc4a04e88f592fbef
MD5 c836487bc578895c71320cd1179e0964
BLAKE2b-256 2fb7e633b0dcc8f58466753d86e5371a58174ac022cddd9fc3e8c138d634c162

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for auto_labeler_ai-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b077118c88decdedac5b876467b12085b3dbfd3659d407d0c437e6218ae8c54d
MD5 7a11e458272a4e50b21cb29c07ca6c94
BLAKE2b-256 dbb0cba1619d82122f0c27a11b1a2dc91274ccab9e9350ed85daf8818ca454dc

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