Upload README.md
Browse files11 unmodified lines1213141516171819209 unmodified lines30313233343536376 unmodified lines44454647484950515253545511 unmodified lines# ArrowFM BaseArrowFM Base is a pretrained Arrow model for zero-shot causal discovery from observational tabular data.Given a numeric dataset, the model predicts edge probabilities and node-order scores, then decodes them into a directed acyclic graph (DAG). Arrow is described in [Arrow: A Foundation Model for Causal Discovery](https://arxiv.org/abs/2605.07204).## Usage9 unmodified linesimport torchfrom arrowfm import ArrowPredictorpredictor = ArrowPredictor.from_pretrained("ryan-thompson/arrowfm-base")x = torch.randn(100, 10)adj = predictor.predict_adjacency(x)```6 unmodified linesadj, p_hat = predictor.predict_adjacency(x, return_p_hat = True)```## Notes- Inputs are standardized internally before inference.- The model is intended for research and exploratory causal discovery.- Predicted graphs should be treated as hypotheses, not definitive causal claims.## Citation```bibtex11 unmodified lines1213141516171819202122239 unmodified lines333435363738396 unmodified lines46474849505111 unmodified lines# ArrowFM BaseArrow is a zero-shot foundation model for causal discovery from observational tabular data.Given a numeric dataset, Arrow predicts edge-existence probabilities and node-order scores, then decodes them into a directed acyclic graph (DAG).- Paper: [Arrow: A Foundation Model for Causal Discovery](https://arxiv.org/abs/2605.07204)- Code: [github.com/ryan-thompson/arrowfm](https://github.com/ryan-thompson/arrowfm)## Usage9 unmodified linesimport torchfrom arrowfm import ArrowPredictorpredictor = ArrowPredictor()x = torch.randn(100, 10)adj = predictor.predict_adjacency(x)```6 unmodified linesadj, p_hat = predictor.predict_adjacency(x, return_p_hat = True)```## Citation```bibtex
README.md+6-10