Skip to main content

An easy-to-extend LLM annotator for robust, resumable data annotation.

Project description

A simple, extensible LLM Annotator

This repository provides a small, resumable framework for annotating datasets with LLMs (via vllm). Below is a minimal usage example showing how to instantiate the Annotator class and run a short annotation job.

Installation

Recommended:

uv add llm-annotator

or

pip install llm-annotator

Installing flash-infer for your version (eg CUDA12.8)

uv pip install flashinfer-python flashinfer-cubin
# JIT cache package (replace cu129 with your CUDA version: cu128, cu129, or cu130)
uv pip install flashinfer-jit-cache --index-url https://flashinfer.ai/whl/cu128

Usage

See examples/ for usage examples.

Testing

pytest -q

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

llm_annotator-0.6.0.tar.gz (25.7 kB view details)

Uploaded Source

Built Distribution

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

llm_annotator-0.6.0-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file llm_annotator-0.6.0.tar.gz.

File metadata

  • Download URL: llm_annotator-0.6.0.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for llm_annotator-0.6.0.tar.gz
Algorithm Hash digest
SHA256 7758af2c51f632a1f2f52695a70ab02a5d10b84954a7c2da0cc0ca4569706d79
MD5 ec573cf266a8f519342115b0ceeb2e83
BLAKE2b-256 03a15f0d0a0a09edaa76adde594a005c5fa03fca65cb5163c3a1cf2a6238f17a

See more details on using hashes here.

File details

Details for the file llm_annotator-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for llm_annotator-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e50d6c8eda55be44a79dd2476fac92d04a208fbd76b89103f41f469d38537b1a
MD5 d58295a4e06e3b2acaea0ef3734000f8
BLAKE2b-256 1d075c571f0eafda422e5eac777f1c1a5ec4b719d1c9e042e80a9912b0816cba

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