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

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.9.tar.gz (46.7 kB view details)

Uploaded Source

Built Distribution

langchain_benchmarks-0.0.9-py3-none-any.whl (69.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: langchain_benchmarks-0.0.9.tar.gz
  • Upload date:
  • Size: 46.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for langchain_benchmarks-0.0.9.tar.gz
Algorithm Hash digest
SHA256 e4ad6774f51cd46904addeb30a1d40f560fb34e62a4f1a8605782cc552a415de
MD5 819b8c3c29f7fd8ea10be9a665cb734b
BLAKE2b-256 d9f67472442c89259fcd940b694f6edb85f03cf83cf59fe73a7d89decd1cbeb2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_benchmarks-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 2f71ea0f94578a93eadfd46b6eff6624a9668d65f3a609307d23a2f6ca798528
MD5 100470e873c7ed9f3a2eca5fd6e4f04d
BLAKE2b-256 8debdd6dba77e23a88275e6bdb6880f4452a016e3d5e73c4ec8eaaea3a70e570

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