CausalFM

(β˜… 50)

PyTorch Implementation on Paper [ICLR2026]: Foundation Models for Causal Inference via Prior-Data Fitted Networks

  • .gitignore
  • LICENSE
  • README.md
  • requirements.txt

# Installation Guide

1. Get the code
git clone https://github.com/yccm/CausalFM

Downloads the entire project code from GitHub to your computer.

cd CausalFM

Moves into the project folder you just downloaded.

2. Python

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
pip install -r requirements.txt

Installs the Python libraries listed in requirements.txt (or similar).

β”‚ β”œβ”€β”€ test_fd.ipynb # Jupyter notebook: FD evaluation

Type this command into your terminal and run it.

β”‚ β”œβ”€β”€ test_iv_binary.ipynb # Jupyter notebook: Binary IV evaluation

Type this command into your terminal and run it.

β”‚ β”œβ”€β”€ test_iv_conti.ipynb # Jupyter notebook: Continuous IV evaluation

Type this command into your terminal and run it.

β”‚ β”œβ”€β”€ test_jobs.ipynb # Jupyter notebook: Jobs dataset evaluation

Type this command into your terminal and run it.

βœ… If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

// repository documentation