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.4.0.tar.gz (21.6 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.4.0-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for llm_annotator-0.4.0.tar.gz
Algorithm Hash digest
SHA256 2ca0840bd78591d42d7d6273ae0ef92dcf4d9882f34bf09b972d7205b9247afb
MD5 dde477cad1123c953bf152fd48c60736
BLAKE2b-256 291733b34dbe8b2cb8c9c698c357e0eedaeb265bd246051d7c1e4133f093e85e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llm_annotator-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97a698197eea354909c13a29177ceed5d5d6ee186f568f89e7f2352a719ee119
MD5 1d2b4d24d67f02c94d058a014febb9f9
BLAKE2b-256 4d7272fdf26a6402d38f7f5a76cc0b804eb42dcdd91b5ed4945db4c4bf1642a0

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