mirror of
https://github.com/wassname/moral-maps.git
synced 2026-10-30 13:30:15 +08:00
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.
36 lines
725 B
TOML
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"]
|