Skip to main content

🦜💪 Flex those feathers!

Project description

🦜💯 LangChain Benchmarks

Release Notes CI License: MIT Twitter Open Issues

📖 Documentation

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!)

Benchmarking Results

Read some of the articles about benchmarking results on our blog.

Tool Usage (2024-04-18)

See tool usage docs to recreate!

download

Explore Agent Traces on LangSmith:

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.

Related

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

langchain_benchmarks-0.0.13.tar.gz (50.7 kB view details)

Uploaded Source

Built Distribution

langchain_benchmarks-0.0.13-py3-none-any.whl (72.3 kB view details)

Uploaded Python 3

File details

Details for the file langchain_benchmarks-0.0.13.tar.gz.

File metadata

  • Download URL: langchain_benchmarks-0.0.13.tar.gz
  • Upload date:
  • Size: 50.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for langchain_benchmarks-0.0.13.tar.gz
Algorithm Hash digest
SHA256 5328310c01b9e40caca29fb98a2b3c035d275f42d9189b7f2dee34feded1fe73
MD5 edfb3a344949a855ccd69e5929ed5c8e
BLAKE2b-256 f72685ae70a3e83a6bd023226d791f552381bb155909ab61f40be5b5e27e9416

See more details on using hashes here.

File details

Details for the file langchain_benchmarks-0.0.13-py3-none-any.whl.

File metadata

File hashes

Hashes for langchain_benchmarks-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 cc5a6fcf55b2124132f2ede92bfaa359310d01142b0c4d1804bd5b76f6d9dd45
MD5 66020e1ac3600850dc174b0d403f212a
BLAKE2b-256 4fe5a745341bbe7e982b15d1c6c1b12b8370a820816e3570d26271716ffdf9ac

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