mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-14 15:57:27 +00:00
Config: Alter YAML generation script for formatting adherence
Properly add comments and newlines where they need to go. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
@@ -333,12 +333,8 @@ class DraftModelConfig(BaseConfigModel):
|
||||
class LoraInstanceModel(BaseConfigModel):
|
||||
"""Model representing an instance of a Lora."""
|
||||
|
||||
name: Optional[str] = Field(None, description=("Name of the LoRA model."))
|
||||
scaling: float = Field(
|
||||
1.0,
|
||||
description=("Scaling factor for the LoRA model (default: 1.0)."),
|
||||
ge=0,
|
||||
)
|
||||
name: Optional[str] = None
|
||||
scaling: float = Field(1.0, ge=0)
|
||||
|
||||
|
||||
class LoraConfig(BaseConfigModel):
|
||||
|
||||
Reference in New Issue
Block a user