Files
moral-maps/pyproject.toml
T
wassname d411af3569 default conditions to other_violate only; drop "negation" wording
The "negation" mention in pyproject + __init__ docstring was stale —
the actual second pass is internal fwd+rev enum-order debias inside
guided_rollout (position-bias cancellation), not a negation framing.

self_violate is not in Clifford 2015 classic (other-violation only).
Default `evaluate(..., conditions=...)` to ("other_violate",); callers
who want both can opt in explicitly. Halves walltime per eval.

CONDITIONS in data.py still lists both (other_violate, self_violate)
as available — the change is only the evaluate() default.
2026-05-20 22:03:00 +00:00

36 lines
725 B
TOML

[project]
name = "tiny-mfv"
version = "0.1.0"
description = "Tiny moral-foundations vignettes eval (Clifford 2015 classic + paraphrase configs) for steering checkpoints."
requires-python = ">=3.11"
dependencies = [
"transformers>=4.45",
"torch",
"accelerate",
"pandas",
"loguru",
"python-dotenv",
"tyro",
"openai>=1.40",
"httpx",
"tqdm",
"tabulate",
"datasets",
]
[dependency-groups]
dev = [
"openrouter-wrapper",
"scipy>=1.17.1",
]
[tool.uv.sources]
openrouter-wrapper = { git = "https://github.com/wassname/openrouter_wrapper" }
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/tinymfv"]