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

Uploaded Source

Built Distribution

langchain_benchmarks-0.0.10-py3-none-any.whl (79.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: langchain_benchmarks-0.0.10.tar.gz
  • Upload date:
  • Size: 53.3 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.10.tar.gz
Algorithm Hash digest
SHA256 d2f704ed218ba08df02a4d48c2f613ac084c5d033b97e726ff42b87931897d3c
MD5 75d7e482915620661d1f97eaead7b70f
BLAKE2b-256 be5f449eb5a9fbabb4c4e655166af37b870cf9c78eb37863cf181161f919c199

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for langchain_benchmarks-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 ab47e404a4e5dd77e808b73ab0afe4af01528e910ca61efb039d89bf6ae5722c
MD5 c1cfec519583e928fa905e18667465cd
BLAKE2b-256 dfdc67ac4b4477b5061c92be00e6011c3e5753a66e0a115435e69712ddcd1284

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