openai / evals

Evals is a framework for evaluating LLMs and LLM systems, and an open-source registry of benchmarks.
Other
14.35k stars 2.54k forks source link

TogetherSolver #1502

Closed thesofakillers closed 3 months ago

thesofakillers commented 3 months ago

This PR contributes a TogetherSolver class, a solver for using models served by the Together AI API

Because Together supports the OpenAI python sdk, we simply create a subclass of the OpenAISolver, overriding some functionality. There is therefore some refactoring of the OpenAISolver included in this PR to facilitate this code sharing.

At the moment, we support the models specified in evals/registry/solvers/together.yaml, but in principle most models offered from the Together AI API can easily be added

Notes: