Spaces:
AIR-Bench
/
Running on CPU Upgrade

leaderboard / tests /src /test_benchmarks.py
nan's picture
refactor: reformat with black
ec8e2d4
raw
history blame
431 Bytes
from src.benchmarks import LongDocBenchmarks, QABenchmarks
def test_qabenchmarks():
for benchmark_list in list(QABenchmarks):
print(benchmark_list.name)
for b in list(benchmark_list.value):
print(b)
qa_benchmarks = QABenchmarks["2404"]
l = list(frozenset([c.value.domain for c in list(qa_benchmarks.value)]))
print(l)
def test_longdocbenchmarks():
print(list(LongDocBenchmarks))