[project] name = "antipasto" version = "0.5.0" description = "Self-supervised steering of moral reasoning via antiparallel subspace training" authors = [{ name = "Michael J Clark" }] repository = "https://github.com/wassname/AntiPaSTO" license = { file = "LICENSE" } readme = "README.md" requires-python = ">=3.10" dependencies = [ "numpy>=1.26.4", "scikit-learn>=1.4.0", "torch>=2.1.2", "transformers[torch]>4.51.0", "bitsandbytes>=0.47.0", "tqdm>=4.66.1", "gguf>=0.13.0", "baukit", "jaxtyping>=0.3.2", "anycache>=2.4.0", "peft", "datasets>=4.1.1", "pandas>=2.3.2", "einops>=0.8.1", "matplotlib>=3.10.6", "simple-parsing>=0.1.7", "great-tables>=0.20.0", "adjusttext>=1.3.0", "repeng>=0.4.0", "colorama>=0.4.6", "nbformat>=5.10.4", "seaborn>=0.13.2", "torchjd>=0.8.0", "jupytext>=1.18.1", "plotly>=6.5.0", "polars>=1.36.1", ] [dependency-groups] dev = [ "attrs>=25.4.0", "cattrs>=25.3.0", "ipykernel>=6.30.1", "ipywidgets>=8.1.7", "loguru>=0.7.3", "pytest>=8.0.2", "ruff>=0.8.3", "tabulate>=0.9.0", "tomli-w>=1.2.0", "tyro>=0.9.35", "wandb>=0.22.3", ] nbs = [ "matplotlib>=3.10.6", "pandas>=2.3.2", "umap-learn>=0.5.9.post2", "jaxtyping>=0.3.2", "ipykernel>=6.30.1", "ipywidgets>=8.1.7", "bitsandbytes>=0.47.0", "tabulate>=0.9.0", "peft>=0.17.1", "datasets>=4.1.1", "einops>=0.8.1", ] [tool.ruff.lint] # F722: syntax error in forward annotation - triggered by jaxtyping's string shape annotations # See: https://docs.kidger.site/jaxtyping/faq/ ignore = ["F722"] [tool.pytest.ini_options] # python_files = ["tests.py"] markers = ["slow: marks tests as slow (deselect with '-m \"not slow\"')"] [tool.uv.sources] baukit = { git = "https://github.com/davidbau/baukit.git" } # peft = { git = "https://github.com/mwbini/peft.git", branch = "add-delora" } peft = { git = "https://github.com/huggingface/peft.git", rev = "41091ecd31abc84bda9e899c4e80ec96f3fa99b2" } repeng = { git = "https://github.com/wassname/repeng.git", branch="my_fixes" } [build-system] requires = ["hatchling"] build-backend = "hatchling.build"