MCPcopy Create free account
hub / github.com/SmartFlowAI/TheGodOfCookery / GenerationConfig

Class GenerationConfig

eval/interface.py:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22@dataclass
23class GenerationConfig:
24 max_length: Optional[int] = None
25 top_p: Optional[float] = None
26 temperature: Optional[float] = None
27 do_sample: Optional[bool] = True
28 repetition_penalty: Optional[float] = 1.0
29
30
31def load_vector_db():

Callers 2

load_modelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected