Link model to paper and improve model card (#1)
Browse files- Link model to paper and improve model card (fda48d63beee7cec191c5a351f6731cbc1439484)
Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>
12234567878910111012131415161718192021221314232425262728292021303132333435363738394 unmodified lines4445463233343536374748495051525354555639575859---pipeline_tag: tabular-classificationlicense: apache-2.0license_name: modified-mitpipeline_tag: othertags:- Tabular- In-Context-Learning- Transformerlicense_name: modified-mitlicense: apache-2.0arxiv: 2410.18164---
# TabDPT: Scaling Tabular Foundation Models# TabDPT: Scaling Tabular Foundation Models on Real Data
**TabDPT** is an open-source foundation model for tabular data based on in-context learning (ICL). It is trained on real-world data and can generalize to new tasks across classification and regression without additional training or hyperparameter tuning.
- **Paper:** [TabDPT: Scaling Tabular Foundation Models on Real Data](https://huggingface.co/papers/2410.18164)- **GitHub:** [layer6ai-labs/TabDPT](https://github.com/layer6ai-labs/TabDPT)
## Installation
To set up the environment, ensure you have Python 3.10 or 3.11, then run:
```git clone git@github.com:layer6ai-labs/TabDPT.git```bashgit clone https://github.com/layer6ai-labs/TabDPT.gitcd TabDPTpip install -e .```
## Example Usage Please refer to the GitHub repo.For better performance, please increase `context_size` or increase `n_ensembles` to trade off speed and accuracy
TabDPT performs zero-shot prediction on new tabular datasets. For detailed working examples, please refer to the following files in the GitHub repository:- `tests/cls_example.py` for classification tasks.- `tests/reg_example.py` for regression tasks.
**Performance Tips:**For better performance, you can increase `context_size` or increase `n_ensembles` to trade off speed and accuracy.
## Updates
4 unmodified linesAdded support for flash attention (with bf16 precision) and compile flag. Both are enabled to True by default and should lead to a significant speed-up.
## Citation```@article{ma2024tabdpt, title={TabDPT: Scaling Tabular Foundation Models}, author={Ma, Junwei and Thomas, Valentin and Hosseinzadeh, Rasa and Kamkari, Hamidreza and Labach, Alex and Cresswell, Jesse C and Golestan, Keyvan and Yu, Guangwei and Volkovs, Maksims and Caterini, Anthony L}, journal={arXiv preprint arXiv:2410.18164}, year={2024}
```bibtex@inproceedings{ ma2025tabdpt, title={Tab{DPT}: Scaling Tabular Foundation Models on Real Data}, author={Junwei Ma and Valentin Thomas and Rasa Hosseinzadeh and Alex Labach and Hamidreza Kamkari and Jesse C. Cresswell and Keyvan Golestan and Guangwei Yu and Anthony L. Caterini and Maksims Volkovs}, booktitle={The Thirty-ninth Annual Conference on Neural Information Processing Systems}, year={2025}, url={https://openreview.net/forum?id=pIZxEOZCId}}``````
© Copyright 2024-2025 The Toronto-Dominion Bank and/or its affiliatesREADME.md+35-15