Downloads · 30 days
0
imaflower/dienbien-rice-yield
dienbien-rice-yield is a tabular regression model from imaflower. Use it for the tabular regression task on the model card, and read the license before you ship it in a product. It is set up for sklearn. The card lists the license as mit.
Predicts rice yield (tons/hectare) for districts in Điện Biên province, NW Vietnam, from growing-season weather features (rainfall timing by phenological stage, frost/cold days, growing degree days, elevation).
Downloads · 30 days
0
Access
Public
Updated Jul 18, 2026
Repo size
6.6 MB
Likes
0
Public
Click a slice to open those files.
.skops6.6 MB · 100%
From the Hugging Face model README
Predicts rice yield (tons/hectare) for districts in Điện Biên province, NW Vietnam, from growing-season weather features (rainfall timing by phenological stage, frost/cold days, growing degree days, elevation).
Part of a broader yield forecasting & harvest planning pipeline (weather ingestion → feature engineering → model → harvest-window + risk alerts).
model.skops) — safe to
load without pickle's arbitrary-code-execution risk⚠️ Important: this model was trained on synthetic, domain-informed weather+yield data, not real measured yield records (see the parent repo's README for why, and how to retrain on real GSO/ICO data). Treat predictions as illustrative until retrained on real district-level yield history.
flowering_rain_mm
season_rain_mm
flood_risk_rain_mm
flowering_mean_temp_c
cold_days_flowering
growing_degree_days
mean_sunshine_ripening
elevation_m
season_rain_cv
All features are derived from daily weather (tmax_c, tmin_c, tmean_c, precip_mm, et0_mm, sunshine_hours) aggregated over crop-specific
phenological windows — see features.py in the parent repo for exact
definitions (e.g. flowering_rain_mm = total rainfall during the
flowering month(s), frost_days_sensitive = count of nights below the
frost threshold during frost-sensitive months).
from huggingface_hub import hf_hub_download
import skops.io as sio
import pandas as pd
model_path = hf_hub_download(repo_id="imaflower/dienbien-rice-yield", filename="model.skops")
model = sio.load(model_path, trusted=sio.get_untrusted_types(file=model_path))
X = pd.DataFrame([{
"flowering_rain_mm": 150, "season_rain_mm": 1100, "flood_risk_rain_mm": 500,
"flowering_mean_temp_c": 24.0, "cold_days_flowering": 0, "growing_degree_days": 3800,
"mean_sunshine_ripening": 6.5, "elevation_m": 480, "season_rain_cv": 1.5
}])
predicted_yield_t_ha = model.predict(X)[0]
predict.py).