Skip to content

Commit

Permalink
fix: parse model_kwargs (#1825)
Browse files Browse the repository at this point in the history
  • Loading branch information
NanoCode012 authored Aug 16, 2024
1 parent f18925f commit 68a3c76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/axolotl/utils/config/models/input/v0_4_1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@ class ModelInputConfig(BaseModel):
)
trust_remote_code: Optional[bool] = None

model_kwargs: Optional[Dict[str, Any]] = None

@field_validator("trust_remote_code")
@classmethod
def hint_trust_remote_code(cls, trust_remote_code):
Expand Down

0 comments on commit 68a3c76

Please sign in to comment.