[build-system] requires = ["setuptools>=68", "wheel"] build-backend = "setuptools.build_meta" [project] name = "causal-difficulty" version = "0.1.0" description = "Proof-of-concept for Causal Difficulty of LLM tasks: a Siamese Counterfactual Encoder evaluated on Synth-CD and GSM-Symbolic." readme = "README.md" requires-python = ">=3.10" license = { text = "MIT" } authors = [{ name = "Mohammadreza Rezaei" }] dependencies = [ "torch>=2.2", "numpy>=1.26", "scikit-learn>=1.4", "scipy>=1.11", "pydantic>=2.6", "pyyaml>=6.0", "matplotlib>=3.8", ] [project.optional-dependencies] hf = [ "transformers>=4.40", "sentence-transformers>=3.0", "peft>=0.11", "sentencepiece>=0.2", # DeBERTa-v3 tokenizer "protobuf>=4", # needed to convert the DeBERTa-v3 tokenizer ] openai = [ "openai>=1.40", "httpx>=0.27", ] dev = [ "pytest>=8.0", ] [tool.setuptools.packages.find] where = ["src"] [tool.pytest.ini_options] testpaths = ["tests"]