🦜💪 Flex those feathers!
Project description
🚧 Under Active Development 🚧
🦜💪 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=sk-...
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.4.tar.gz
.
File metadata
- Download URL: langchain_benchmarks-0.0.4.tar.gz
- Upload date:
- Size: 32.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 106c85def3a76acc79075017903001ef1bddaea65ea28c9a0598116aa7b480a2 |
|
MD5 | 194e02efd31419dea633cd85b87b08fa |
|
BLAKE2b-256 | 53fe12f9eb87dc0c7e931d61ecff6aaabf6040b46cfe884fd403c48f373deec7 |
File details
Details for the file langchain_benchmarks-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: langchain_benchmarks-0.0.4-py3-none-any.whl
- Upload date:
- Size: 48.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d33a25392e823ccfe3b8454f0a18ccb3cac852d988b15143d5563af7d0aa0047 |
|
MD5 | 114106773e257d37121ad1c874fd03a7 |
|
BLAKE2b-256 | b7f9594c2272a5dfbb962fe70773465491b0616b62f3ffd1b8de00c23c8a9343 |