You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 12, 2026. It is now read-only.
class GenerationArgs(BaseModel):
use_vllm: Optional[bool] = Field(
None, description='Whether VLLM was used for inference'
)
temperature: Optional[float] = Field(None, description='Sampling temperature')
top_p: Optional[float] = Field(None, description='Nucleus sampling parameter')
top_k: Optional[float] = Field(None, description='Top-k sampling parameter')
max_tokens: Optional[Annotated[int, Field(ge=1)]] = Field(
None, description='Maximum number of tokens to generate'
)
stop_sequences: Optional[List[str]] = Field(
[], description='Sequences that stop generation'
)
We should consider a extension of GenerationArgs. In my opinion there are missing fields like for example seed, frequency_penalty, presence_penalty, logprobs, top_logprobs, logit_bias.
We also should consider changing of use_vllm because there can be used other providers like sglang or ollama.