Downloads · 30 days
114
30% of all-time downloads
5ch4um1/lfm2.5-vrsbench-firewatch-sft-lora-450m
lfm2.5-vrsbench-firewatch-sft-lora-450m is a image-text-to-text model from 5ch4um1. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for peft.
Fine-tuned vision-language model for wildfire detection and burn scar analysis in Sentinel-2 satellite imagery.
Downloads · 30 days
114
30% of all-time downloads
All-time downloads
380
Public
Parameters
449M
6.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.onnx_data4.2 GB · 62%
From the Hugging Face model README
Fine-tuned vision-language model for wildfire detection and burn scar analysis in Sentinel-2 satellite imagery.
This model is a fine-tuned version of LFM2.5-VL-450M on the NuTonic/firewatch-sft-v1 dataset combined with additional fire/no-fire satellite imagery. The model specializes in detecting and analyzing wildfires, burn scars, and fire-related features in Sentinel-2 satellite imagery.
liquidai/LFM2.5-VL-450M (450M parameter vision-language model)The model was trained on 520 samples combining:
from transformers import AutoModelForVision2Seq, AutoProcessor
from PIL import Image
# Load model and processor
model = AutoModelForVision2Seq.from_pretrained("5ch4um1/lfm2.5-vrsbench-fire-sentinel2-lora-450m")
processor = AutoProcessor.from_pretrained("5ch4um1/lfm2.5-vrsbench-fire-sentinel2-lora-450m")
# Prepare input
image = Image.open("sentinel2_fire_image.jpg")
messages = [
{"role": "user", "content": [
{"type": "image", "image": image},
{"type": "text", "text": "Is there any wildfire or burn scar in this Sentinel-2 image? Provide bounding boxes if fire is detected."}
]}
]
# Process and generate
inputs = processor(messages, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=256)
response = processor.decode(outputs[0], skip_special_tokens=True)
print(response)
# Download GGUF model
wget https://huggingface.co/5ch4um1/lfm2.5-vrsbench-fire-sentinel2-lora-450m/resolve/main/fire-expert-f16.gguf
# Run with llama.cpp
./llama-cli -m fire-expert-f16.gguf -p "Analyze this satellite image for fire damage" --image sentinel2_image.jpg
ONNX exports are available in the onnx/ directory with multiple precision options:
fp16 - Half precision (faster inference)q4 - 4-bit quantized (smallest size)q8 - 8-bit quantized (balanced)import onnxruntime as ort
import numpy as np
from PIL import Image
# Load ONNX model
session = ort.InferenceSession("onnx/vision_encoder_fp16.onnx")
# ... process image and run inference
Trained for 7 epochs with:
base_model: liquidai/LFM2.5-VL-450M
dataset:
- NuTonic/firewatch-sft-v1
- local_fire_data
- augmented_samples
epochs: 7
lora_rank: 16
lora_alpha: 32
learning_rate: 2e-5
├── config.json # Model configuration
├── model.safetensors # Merged model weights
├── processor_config.json # Image processor config
├── tokenizer.json # Tokenizer
├── fire-expert-f16.gguf # GGUF format (FP16)
└── onnx/ # ONNX exports
├── vision_encoder_fp16.onnx
├── decoder_model_merged_fp16.onnx
└── embed_tokens_fp16.onnx
If you use this model, please cite:
@misc{lfm25vl-fire-expert,
title={LFM2.5-VL-450M Fire Expert for Sentinel-2},
author={AI-in-Space},
year={2026},
howpublished={\url{https://huggingface.co/5ch4um1/lfm2.5-vrsbench-fire-sentinel2-lora-450m}}
}
This model follows the license of the base model (LFM2.5-VL-450M). Check the base model repository for license details.