Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions src/heretic/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,15 @@ class Settings(BaseSettings):
exclude=True,
)

reproduce: str | None = Field(
Comment thread
p-e-w marked this conversation as resolved.
default=None,
description=(
"If this path or URL to a reproduce.json file is set, load reproduction information "
"from that file, and attempt to reproduce the abliterated model it originated from."
),
exclude=True,
)

dtypes: list[str] = Field(
default=[
# In practice, "auto" almost always means bfloat16.
Expand Down Expand Up @@ -161,13 +170,6 @@ class Settings(BaseSettings):
),
)

trust_remote_code: bool | None = Field(
default=None,
description="Whether to trust remote code when loading the model.",
# For security reasons, we don't store this setting.
exclude=True,
)

batch_size: int = Field(
default=0, # auto
description="Number of input sequences to process in parallel (0 = auto).",
Expand Down
Loading