Skip to main content

A library for comparing multiple llm-based systems.

Project description

Zeno Build

PyPI version Github Actions CI tests MIT license Discord

Zeno Build is a tool for developers who want to quickly build, compare, and iterate on applications using large language models.

Zeno Build Overview

It provides:

  • Simple examples of code to build LLM-based apps. The examples are architecture agnostic, we don't care if you are using OpenAI, LangChain, or Hugging Face.
  • Experiment management and hyperparameter optimization code, so you can quickly kick off experiments using a bunch of different settings and compare the results.
  • Evaluation of LLM outputs, so you can check if your outputs are correct, fluent, factual, interesting, or "good" by whatever definition of good you prefer! Use these insights to compare models and iteratively improve your application with model, data, or prompt engineering.

Sound interesting? Read on!

Getting Started

To get started with zeno-build, install the package from PyPI:

pip install zeno-build

Next, start building! Browse to the docs directory to get a primer or to the examples/ directory, where we have a bunch of examples of how you can use zeno-build for different tasks, such as chatbots, text summarization, or text classification.

Each of the examples include code for running experiments and evaluating the results. zeno-build will produce a comprehensive report with the Zeno AI evaluation platform.

Interactive Demos/Reports

Using Zeno Build, we have generated reports and online browsing demos of state-of-the-art systems for different popular generative AI tasks. Check out our pre-made reports below:

  • Chatbots (Report, Browser): A report comparing different methods for creating chatbots, including API-based models such as ChatGPT and Cohere, with open-source models such as Vicuna, Alpaca, and MPT.
  • Translation (Report, Browser): A report comparing GPT-based methods, Microsoft Translator, and the best system from the Conference on Machine Translation.

Building Your Own Apps (and Contributing Back)

Each of the examples in the examples/ directory is specifically designed to be self-contained and easy to modify. To get started building your own apps, we suggest that you first click into the directory and read the general README, find the closest example to what you're trying to do, copy the example to the new directory, and start hacking!

If you build something cool, we'd love for you to contribute it back. We welcome pull requests of both new examples, new reports for existing examples, and new functionality for the core zeno_build library. If this is of interest to you, please click through to our contributing doc doc to learn more.

CITATION

To cite GPT-MT report, please use the following BibTeX/APA entry.

BibTeX

@misc{Neubig_Zeno_GPT_Machine_2023,
  author = {
      Neubig, Graham and 
      He, Zhiwei
  },
  title = {{Zeno GPT Machine Translation Report}},
  year = {2023}
}

APA

Neubig, G., & He, Z. (2023). Zeno GPT Machine Translation Report

Get in Touch

If you have any questions, feature requests, bug reports, etc., we recommend getting in touch via the github issues page or discord, where the community can discuss and/or implement your suggestions!

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

zeno_build-0.0.6.tar.gz (27.5 kB view details)

Uploaded Source

Built Distribution

zeno_build-0.0.6-py3-none-any.whl (44.3 kB view details)

Uploaded Python 3

File details

Details for the file zeno_build-0.0.6.tar.gz.

File metadata

  • Download URL: zeno_build-0.0.6.tar.gz
  • Upload date:
  • Size: 27.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for zeno_build-0.0.6.tar.gz
Algorithm Hash digest
SHA256 6f398fc3bdcba7cc0576b1e1d7e4052137143dfabe393dfd7982fd14d556b0f8
MD5 b6a8f48463b4dd7e3ae92e088a99bc4f
BLAKE2b-256 964c8f9c0136637d38b21c91e8a513c91b5f44ed146503cc87f61762e86ac0af

See more details on using hashes here.

File details

Details for the file zeno_build-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: zeno_build-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 44.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for zeno_build-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2b85416cefae08cf725e14f6e9290fabcde14b3b6b64d6a41a931278a3a87801
MD5 3f9d6924c3750698070c64030890d548
BLAKE2b-256 2750ab3602768161af5228a4c13e6dfb28b2112b546b65a91954bc876afb045d

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