Skip to main content

LabelKit - build and evaluate data labeling pipelines

A lightweight framework for building and evaluating data transformation and data extraction pipelines using LLMs. Designed for simplicity, rapid prototyping, evaluation and optimization.


Star us on Github!

Twitter Follow Downloads

LLMs can make your treasure trove of unstructured data useful if only you could transform it into structured, or extract key fields from it. Today, building LLM-powered pipelines is difficult because LLMs are unpredictable. Unlike traditional software, you can't simply write unit and integration tests that confirm the correctness of your code.

With LLMs you need a different approach: you need to evaluate your code on a dataset, and tune the code to find the right tradeoff between:

  • Accuracy
  • Cost
  • Latency

LabelKit is an extremely lightweight framework that helps you build these pipelines such that you can:

  • Easily run them on a dataset (not just a single data point)
  • Keep track of token usage, cost and latency
  • Evaluate accuracy against ground truth
  • Evaluate the correctness of each step in the pipeline
  • Easily parametrize each step (eg. model choice) so you can tune the paramters to optimize performance

Get Started

Installing LabelKit is a breeze. Simply run pip install labelkit in your terminal.

License

This project is licensed under the terms of the MIT License.

Contributors

Metadata

Release files for labelkit 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for labelkit 0.1.0
File Size Uploaded Provenance Actions
labelkit-0.1.0.tar.gz 11.6 kB Without provenance Details for labelkit-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for labelkit 0.1.0
File Interpreter ABI Platform Actions
labelkit-0.1.0-py3-none-any.whl Python 3 none any Details for labelkit-0.1.0-py3-none-any.whl

Total release size: 26.7 kB

Release files / labelkit-0.1.0.tar.gz

Download URL labelkit-0.1.0.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5f33b58a8c5670e810d01ad2bc2558a0601a80393476d269c1ce7dc56ccc5aeb
BLAKE2b-256 checksum
How to use checksums
40a81e6af9e2f755146228a02162ece09f10f6c674aae30da50481d26ee6db8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.12 Darwin/23.2.0

Release files / labelkit-0.1.0-py3-none-any.whl

Download URL labelkit-0.1.0-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
86e1f019610e3fb9b929e5f69635ffd2eae1d0490a583b188b3b689138a1258f
BLAKE2b-256 checksum
How to use checksums
1a73bd6ddb5e35e7838bf4f0427c05728ce88d48333190a1e08ce9eb01791139
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.10.12 Darwin/23.2.0

Security for labelkit 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page