Tabular Regression
Transformers
Safetensors
yield-text-image
feature-extraction
crop-yield-estimation
digital-agriculture
multimodal
multi-temporal
regression
custom_code
Instructions to use ICICLE-AI/multimodal-yield-estimation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ICICLE-AI/multimodal-yield-estimation with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("ICICLE-AI/multimodal-yield-estimation", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 1,623 Bytes
4191737 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | from transformers import PretrainedConfig
class MultimodalYieldConfig(PretrainedConfig):
"""Config for the text + image (concat) multi-cutoff yield model.
Normalization statistics are stored here so the model accepts raw
Qwen3 text embeddings and raw DINOv3 image features at inference time.
"""
model_type = "yield-text-image"
def __init__(
self,
text_model="Qwen/Qwen3-Embedding-0.6B",
image_model="facebook/dinov3-vitb16-pretrain-lvd1689m",
text_dim=1024,
image_dim=768,
K=22,
text_mean=None,
text_std=None,
image_mean=None,
image_std=None,
y_mean=None,
y_std=None,
train_cutoffs=None,
eval_cutoffs=None,
d_model=64,
nhead=4,
num_layers=2,
dim_ff=128,
dropout=0.3,
input_dropout=0.2,
pool="last",
**kwargs,
):
super().__init__(**kwargs)
self.text_model = text_model
self.image_model = image_model
self.text_dim = text_dim
self.image_dim = image_dim
self.K = K
self.text_mean = text_mean
self.text_std = text_std
self.image_mean = image_mean
self.image_std = image_std
self.y_mean = y_mean
self.y_std = y_std
self.train_cutoffs = train_cutoffs
self.eval_cutoffs = eval_cutoffs
self.d_model = d_model
self.nhead = nhead
self.num_layers = num_layers
self.dim_ff = dim_ff
self.dropout = dropout
self.input_dropout = input_dropout
self.pool = pool
|