Framework for large language model evaluations
Project description
Welcome to Inspect, a framework for large language model evaluations created by the UK AI Safety Institute.
Inspect provides many built-in components, including facilities for prompt engineering, tool usage, multi-turn dialog, and model graded evaluations. Extensions to Inspect (e.g. to support new elicitation and scoring techniques) can be provided by other Python packages.
To get started with Inspect, please see the documentation at https://inspect.ai-safety-institute.org.uk/.
To work on development of Inspect, clone the repository and install with the -e
flag and [dev]
optional dependencies:
$ git clone https://github.com/UKGovernmentBEIS/inspect_ai.git
$ cd inspect_ai
$ pip install -e ".[dev]"
Optionally install pre-commit hooks via
make hooks
Run linting, formatting, and tests via
make check
make test
If you use VS Code, you should be sure to have installed the recommended extensions (Python, Ruff, and MyPy). Note that you'll be prompted to install these when you open the project in VS Code.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file inspect_ai-0.3.44.tar.gz
.
File metadata
- Download URL: inspect_ai-0.3.44.tar.gz
- Upload date:
- Size: 8.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f79675728d395099cf0fb506557c29a7fb7d8e005bdcc248e537256ac0e5e2d8 |
|
MD5 | f55110f6f31c641705027a5830002a32 |
|
BLAKE2b-256 | f0e054830eb7cf2ea151e94c98babe95331e1d75f7702a1c96161edf01b4c1e7 |
File details
Details for the file inspect_ai-0.3.44-py3-none-any.whl
.
File metadata
- Download URL: inspect_ai-0.3.44-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39e3703d22627b84568bba6cd08e91a25937778ee00a27426fdf8019c8ceba5a |
|
MD5 | 7ae07e583bf722e6bfab1962834e9a99 |
|
BLAKE2b-256 | 58b14b7276490d5d6cc95d3693e812e6d099910350b32cca2e37ba7223d708e0 |