A benchmarking tool for langchain based LLM pipelines.
Project description
langbench
langbench is an easy to use benchmarking library for langchain based LLM pipelines.
Installation
pip install langbench
Metrics
langbench provides the following metrics:
toxicity: Toxicity of the generated text.bias: Bias of the generated text, including:- political
- gender
- racial
- educational
- nationality
- religious
- others
latency: Latency of the generated text.
Reports are generated in the form of an html file.
Documentation
The official documentation is available at langbench.
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file langbench-0.0.2.tar.gz.
File metadata
- Download URL: langbench-0.0.2.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3320fd7e72edce9ec5b2f546c4710c98c1a4545be8c41a52b291ea9c9e0c038
|
|
| MD5 |
8fe390db6d5fac1db42b55cde620cad0
|
|
| BLAKE2b-256 |
84e532ee5ed3cdd1c12af5de8e29df00113a2cb0e722e49cfa125d510362a907
|
Provenance
The following attestation bundles were made for langbench-0.0.2.tar.gz:
Publisher:
release.yaml on micvitc/langbench
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
langbench-0.0.2.tar.gz -
Subject digest:
e3320fd7e72edce9ec5b2f546c4710c98c1a4545be8c41a52b291ea9c9e0c038 - Sigstore transparency entry: 174722322
- Sigstore integration time:
-
Permalink:
micvitc/langbench@2dc938cd033245a0933392e3233fdf0b5a2b7eea -
Branch / Tag:
refs/tags/0.0.2 - Owner: https://github.com/micvitc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@2dc938cd033245a0933392e3233fdf0b5a2b7eea -
Trigger Event:
push
-
Statement type:
File details
Details for the file langbench-0.0.2-py3-none-any.whl.
File metadata
- Download URL: langbench-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
793dab673516e973876ba88bfc1e1ba5c3996e7520d94cf34244948680696fe6
|
|
| MD5 |
256ff5d0569c3f2bdeeb538855eb7597
|
|
| BLAKE2b-256 |
04d23401c10087fb316e8b743151538448c875bd04d334fabdc60379504e4f8b
|
Provenance
The following attestation bundles were made for langbench-0.0.2-py3-none-any.whl:
Publisher:
release.yaml on micvitc/langbench
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
langbench-0.0.2-py3-none-any.whl -
Subject digest:
793dab673516e973876ba88bfc1e1ba5c3996e7520d94cf34244948680696fe6 - Sigstore transparency entry: 174722327
- Sigstore integration time:
-
Permalink:
micvitc/langbench@2dc938cd033245a0933392e3233fdf0b5a2b7eea -
Branch / Tag:
refs/tags/0.0.2 - Owner: https://github.com/micvitc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@2dc938cd033245a0933392e3233fdf0b5a2b7eea -
Trigger Event:
push
-
Statement type: