clp-research / clembench

A Framework for the Systematic Evaluation of Chat-Optimized Language Models as Conversational Agents and an Extensible Benchmark
MIT License
26 stars 34 forks source link

Feat/model registry #51

Closed phisad closed 9 months ago

phisad commented 9 months ago

Implements #26:

A Model is mainly retrieved by backends.get_model_for(model_spec) method which performs a unification operation with existing ModelSpecs from the model registry. The first unifying model spec is returned or the one given retained.

A ModelSpec must define a "backend" (name) to properly load a Model. The backend name must match a backend file like <name>_api.py.

Aside: