Evals¶
Base Benchmark and Benchmarker
BaseBenchmark
¶
Bases: BaseModel
, ABC
Base Benchmark.
Source code in src/fed_rag/base/evals/benchmark.py
num_examples
abstractmethod
property
¶
Number of examples in the benchmark.
NOTE: if streaming, _examples
is likely set to an empty list. Thus,
we leave this implementation for the subclasses.