Files
test-small-llms/libs/classes.py
Lennart J. Kurzweg (Nx2) 2723ced901 m2
2024-08-25 20:10:53 +02:00

25 lines
430 B
Python

from dataclasses import dataclass
from typing import Callable
@dataclass
class Test:
name: str
runnable: Callable
runnable_input: dict
validator: Callable
validation_input: dict
@dataclass
class Model:
display_name: str
identifier: str
supports_tools: bool
parameter_count_in_b: float
@dataclass
class Technique:
name: str
for_supports_tools: bool
for_not_supports_tools: bool