Skip to main content

Automatically and uniformly measure the behavior of many AI Systems.

Project description

ModelGauge

Goal: Make it easy to automatically and uniformly measure the behavior of many AI Systems.

[!WARNING] This repo is still in beta with a planned full release in Fall 2024. Until then we reserve the right to make backward incompatible changes as needed.

ModelGauge is an evolution of crfm-helm, intended to meet their existing use cases as well as those needed by the MLCommons AI Safety project.

Summary

ModelGauge is a library that provides a set of interfaces for Tests and Systems Under Test (SUTs) such that:

  • Each Test can be applied to all SUTs with the required underlying capabilities (e.g. does it take text input?)
  • Adding new Tests or SUTs can be done without modifications to the core libraries or support from ModelGauge authors.

Currently ModelGauge is targeted at LLMs and single turn prompt response Tests, with Tests scored by automated Annotators (e.g. LlamaGuard). However, we expect to extend the library to cover more Test, SUT, and Annotation types as we move toward full release.

Docs

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

modelgauge-0.6.0.tar.gz (53.5 kB view details)

Uploaded Source

Built Distribution

modelgauge-0.6.0-py3-none-any.whl (69.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modelgauge-0.6.0.tar.gz
  • Upload date:
  • Size: 53.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.10 Darwin/22.3.0

File hashes

Hashes for modelgauge-0.6.0.tar.gz
Algorithm Hash digest
SHA256 c86b7b8ef952746d2608d7998069f37dbbddf0580c3bf8a8176f87443959b633
MD5 ce8e88ff714b51b76247d831379db867
BLAKE2b-256 886d71d64e31e9b95b495bbec6388854f209197eb37cbcc846b501ae2f3ce34c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modelgauge-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 69.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.10.10 Darwin/22.3.0

File hashes

Hashes for modelgauge-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dfceb7fbce8a30d888798c398ec2f2a0d54d49500ad74d193d05f5f94f6adba9
MD5 d3f3522d62b3dc015df31700c975a527
BLAKE2b-256 e523a79e39d3e0b9de3881c3dc8b5b785d5ff1deec3f57a8ccabeefd94db822f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page