🦜💪 Flex those feathers!
Project description
🦜💯 LangChain Benchmarks
A package to help benchmark various LLM related tasks.
The benchmarks are organized by end-to-end use cases, and utilize LangSmith heavily.
We have several goals in open sourcing this:
- Showing how we collect our benchmark datasets for each task
- Showing what the benchmark datasets we use for each task is
- Showing how we evaluate each task
- Encouraging others to benchmark their solutions on these tasks (we are always looking for better ways of doing things!)
Installation
To install the packages, run the following command:
pip install -U langchain-benchmarks
All the benchmarks come with an associated benchmark dataset stored in LangSmith. To take advantage of the eval and debugging experience, sign up, and set your API key in your environment:
export LANGCHAIN_API_KEY=ls-...
Repo Structure
The package is located within langchain_benchmarks. Check out the docs for information on how to get starte.
The other directories are legacy and may be moved in the future.
Archived
Below are archived benchmarks that require cloning this repo to run.
- CSV Question Answering
- Extraction
- Q&A over the LangChain docs
- Meta-evaluation of 'correctness' evaluators
Related
- For cookbooks on other ways to test, debug, monitor, and improve your LLM applications, check out the LangSmith docs
- For information on building with LangChain, check out the python documentation or JS documentation
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 langchain_benchmarks-0.0.11.tar.gz
.
File metadata
- Download URL: langchain_benchmarks-0.0.11.tar.gz
- Upload date:
- Size: 54.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 701fdc33cbe39e5d5ac8a1bfdc856fb66fac1e41e9406b7b3f66ab8d19282983 |
|
MD5 | 0d487393d3ea47e9a1662c362245b084 |
|
BLAKE2b-256 | 0bf1e1a488f4aebfc85774d13647e7c8f1c59f67468524fbae32656e5f552cb9 |
File details
Details for the file langchain_benchmarks-0.0.11-py3-none-any.whl
.
File metadata
- Download URL: langchain_benchmarks-0.0.11-py3-none-any.whl
- Upload date:
- Size: 82.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ac9702fc391382d5ff656f494efe638d6c62ec070db8f40fc9ac02cc1de629d |
|
MD5 | 6c9f77070d99cdb2aa09f6725bc6523d |
|
BLAKE2b-256 | 0182cb9278466125e8fcf5852e648f87b02c627c0a7f8b4ff2ffbb502c130fb2 |