Skip to main content

Core functionality for TLM

Project description

Trustworthy Language Model (TLM)

The Trustworthy Language Model scores the trustworthiness of outputs from any LLM in real-time.

Automatically detect hallucinated/incorrect responses in: Q&A (RAG), Chatbots, Agents, Structured Outputs, Data Extraction, Tool Calling, Classification/Tagging, Data Labeling, and other LLM applications.

Use TLM to:

  • Guardrail AI mistakes before they are served to user
  • Escalate cases where AI is untrustworthy to humans
  • Discover incorrect LLM (or human) generated outputs in datasets/logs
  • Boost AI accuracy

Powered by uncertainty estimation techniques, TLM works out of the box, and does not require:
data preparation/labeling work or custom model training/serving infrastructure.

Learn more and see precision/recall benchmarks with frontier models (from OpenAI, Anthropic, Google, etc):
Blog, Research Paper

Usage

See notebooks for Jupyter notebooks with example usage.

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

trustworthy_llm-0.0.2.tar.gz (640.5 kB view details)

Uploaded Source

Built Distribution

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

trustworthy_llm-0.0.2-py3-none-any.whl (80.3 kB view details)

Uploaded Python 3

File details

Details for the file trustworthy_llm-0.0.2.tar.gz.

File metadata

  • Download URL: trustworthy_llm-0.0.2.tar.gz
  • Upload date:
  • Size: 640.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for trustworthy_llm-0.0.2.tar.gz
Algorithm Hash digest
SHA256 cbef25b11445abe299986c59d47040e846bd747a8ae14bddf3c273083149aa1e
MD5 14db628d26b56526c7d638c733e09d01
BLAKE2b-256 45de64259495ae6d5a013a42371c4b596cdf16f141957ab479fea57ba70102a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for trustworthy_llm-0.0.2.tar.gz:

Publisher: release.yml on cleanlab/tlm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file trustworthy_llm-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for trustworthy_llm-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 40ae4509297b40fcd16c46df498aea03776c2a18dd128a61b3135dbfdc4e391a
MD5 fdcc9d3e3f57d86c6ac621001ed632f3
BLAKE2b-256 9958434023476174186a9312bca55316c6be33096692f3ab65e49c07c1801511

See more details on using hashes here.

Provenance

The following attestation bundles were made for trustworthy_llm-0.0.2-py3-none-any.whl:

Publisher: release.yml on cleanlab/tlm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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