--- title: HABIT — Soil Water Retention Predictor emoji: 💧 colorFrom: blue colorTo: green sdk: gradio sdk_version: "4.44.1" app_file: app.py pinned: false license: mit models: - Teamrat/habit tags: - soil-science - pedotransfer-function - water-retention short_description: Soil water retention prediction with uncertainty --- # HABIT — Soil Water Retention Predictor Interactive demo for **HABIT** (Hierarchical Attention-Based Inference with Transfer Learning), a pre-trained ensemble model for predicting soil water retention curves. **Paper:** Ghezzehei TA (2025). *Water Resources Research*. **Model weights:** [Teamrat/habit](https://huggingface.co/Teamrat/habit) Enter soil texture (required) plus optional bulk density, organic carbon, and saturated hydraulic conductivity. The model automatically adapts to whatever inputs you provide.